The Rider
11-02-2010, 11:27 AM
Does somebody know how to implement the "wait" option in the use of some skills:
it should work like this:
At the moment we have two possibilities either the creature can use its skill (like inquisitors resurrection) and spend his attack (endmove=1) or it can use an ability and than attack (like archmage's battle mage ability) - endmove=0
I want to make some abilities like this: use the ability then attack after all other creatures have acted (something like if you have pushed the "wait" button for abilities with endmove=0). The command "skipmove" makes the creature to act agan in the next round, so it is pointless
I tried this one but it doesnt work for some reason, I put in the posthitslave attribute:
Attack.act_again(0)
Attack.act_ap(0, Attack.act_get_par(0, "speed"))
Attack.resort()
it should work like this:
At the moment we have two possibilities either the creature can use its skill (like inquisitors resurrection) and spend his attack (endmove=1) or it can use an ability and than attack (like archmage's battle mage ability) - endmove=0
I want to make some abilities like this: use the ability then attack after all other creatures have acted (something like if you have pushed the "wait" button for abilities with endmove=0). The command "skipmove" makes the creature to act agan in the next round, so it is pointless
I tried this one but it doesnt work for some reason, I put in the posthitslave attribute:
Attack.act_again(0)
Attack.act_ap(0, Attack.act_get_par(0, "speed"))
Attack.resort()