Jabantiz wrote:Dello0000 wrote:[EDIT #2] Tick and DoT scripts are different, DoT has Tick, Script only has Tick but the art needs DoT, Ill review it later.
DoT is a type of spell that has multiple ticks, so a DoT that damages the target every 5 sec's will call the tick function every 5 secs.[/url]
Thank you!
Um, Instead of having the tick code in the script it can just be inserted into the "call_frequency:" under the tiers tab tho?
All the scripts iv rewrote so far (Inc DoT's) dont have any tick coding. I like to keep a clean script, less mess i have to decipher lol.
As for Ruin, I can get the damage + DoT working fine, but then i add skill changes and it either works (But its not in the right order) or breaks it.
I think iv gone at it about 20+ times and just had to call it a day. Its down to that bloody damage over times min/max values. I dunno how to code it. I took the script from another skill that had DD + Skill change + DoT But the DoT in question was just a non random value. Id have had it fixed a while ago but i cant seem to get the DoT to randomize without breaking everything.
[EDIT] "The tick function is called when a spell needs to apply multiple effects" Dot obv, but would several non damage effects need this? Skill increase for example, Iv noted having skill changing code AFTER damage code doesn't work, Would it work if it had tick? Or, let me come at another way, If i was doing a direct damage, followed by skill changes and then followed by a DoT, Would i need:
Or in this case would it be better to follow each main code by "end" then at the end of those three have two end's? LOL i know im still not very good, im surprised iv done anything thus far, im fairly sure most of this is just a fluke hahaha.
(Side note) Im not sure if this will be helpful but what would help me and anyone else starting out would be more templates and a tutorial on "stitching" various templates together.