Laststrike attack special
Moderator: Forum Moderators
- Spannerbag
- Posts: 535
- Joined: December 18th, 2016, 6:14 pm
- Location: Yes
Laststrike attack special
Hi again,
I'd like to give a unittype a laststrike attack special (the reverse of firststrike).
Presently I'm looking at adapting the code for initiative from HttT.
However, if anyone happens to be able to post the (lua?) code for firststrike, I may be able to create this ability just by reversing a few things, maybe?
Otherwise I'll implement in WML
Thanks in advance!
Cheers,
-- Spannerbag
I'd like to give a unittype a laststrike attack special (the reverse of firststrike).
Presently I'm looking at adapting the code for initiative from HttT.
However, if anyone happens to be able to post the (lua?) code for firststrike, I may be able to create this ability just by reversing a few things, maybe?
Otherwise I'll implement in WML
![Smile :)](./images/smilies/icon_smile.gif)
Thanks in advance!
Cheers,
-- Spannerbag
Re: Laststrike attack special
Just [firststrike] with apply_to=opponent?
- Spannerbag
- Posts: 535
- Joined: December 18th, 2016, 6:14 pm
- Location: Yes