You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1

Thursday, September 12th 2013, 9:58pm

r/k diyce

hello I need help writing the Knight skills part of my r/k diyce

it is going to go

disarrm
holy strike
punishment
problem is I only meed punishment to go off if holy strike is stacked 4 times. can anyone guide me how to erite that line of acript. thanks alot

ArkanaROM

Intermediate

Posts: 193

Location: Devon, UK

Occupation: Making games...

  • Send private message

2

Friday, September 13th 2013, 12:07am

Haven't played around much with K in DIYCE but the following should work;

Original DIYCE

Source code

1
i=i+1; Skill[i] = { ["name"] = "Punishment", 	["use"] = (not friendly) and (string.find(tbuffs,"Light Seal III")) }

DIYCE v2

Source code

1
{ name = "Punishment",	    use = (enemy) and (tbuffs["Light Seal III"]) },

May need to confirm the string to look for.

Hope that helps...