this is a auto-attack patch (button 'a' by default) that just auto attacks (uses rush when possible). It's *very* dumb (even steps over traps).
edit: added hack'n'back after the rush if the enemy rushed is still alive and at 1 space distance.
Auto-attack patch
Moderator: Moderator
Auto-attack patch
- Attachments
-
- button_of_awesome.diff.txt
- (5.83 KiB) Downloaded 303 times
Last edited by SCO on Mon Oct 15, 2012 9:25 am, edited 6 times in total.
Re: Activate talents on bump attack.
bump; added hack'n'back.
Re: Auto-attack patch
Thinking of making this patch more general for other builds...
Something like a UI that selects the ability you want to use to 'get near' a enemy, and another you use to 'get away' from a enemy.
I used rush and hacknback because they are general warrior attack abilities, but there are other ones that would serve the same purpose just fine, like that one that pulls enemies in with the corruption tree.
I suppose there isn't any data/way to select abilties that conform to the general 'get near/get away' pattern? I guess i can always just show all abilities that are selecteable from '> 1 square away' and those that are only from '1 square away' and have a target.
Not sure how to handle 'unlearning' abilities though. I suppose lua doesn't have weakreferences?
edit: yes it does... ok.
Something like a UI that selects the ability you want to use to 'get near' a enemy, and another you use to 'get away' from a enemy.
I used rush and hacknback because they are general warrior attack abilities, but there are other ones that would serve the same purpose just fine, like that one that pulls enemies in with the corruption tree.
I suppose there isn't any data/way to select abilties that conform to the general 'get near/get away' pattern? I guess i can always just show all abilities that are selecteable from '> 1 square away' and those that are only from '1 square away' and have a target.
Not sure how to handle 'unlearning' abilities though. I suppose lua doesn't have weakreferences?
edit: yes it does... ok.
Re: Auto-attack patch
I'm actually thinking of structuring it like a combo now.
--the talents you can choose don't have any pre-requesite except they are targeted and will always attack the nearest, if it's in range
--if the nearest target survives, the talent use, you will 'progress' to the next talent in the combo
--instant talents will be applied in the same turn
--maybe setup it like a talent tree or something so you can get more combo 'slots' when you level up, say every 10 levels or something.
Seems like it would be quite flexible for a autoattack pattern.
--the talents you can choose don't have any pre-requesite except they are targeted and will always attack the nearest, if it's in range
--if the nearest target survives, the talent use, you will 'progress' to the next talent in the combo
--instant talents will be applied in the same turn
--maybe setup it like a talent tree or something so you can get more combo 'slots' when you level up, say every 10 levels or something.
Seems like it would be quite flexible for a autoattack pattern.