focused_attacker ![code/datums/components/focused_attacker.dm 5](git.png)
Increases our attack damage every time we attack the same target Not compatible with any other component or status effect which modifies attack damage
Vars | |
gain_per_attack | Amount of damage we gain per attack |
---|---|
last_target | The last thing we attacked |
maximum_gain | Maximum amount by which we can increase our attack power |
Procs | |
on_target_deleted | Drop our target ref on deletion |
pre_item_attack | Before an item attacks, try increasing its attack power |
pre_mob_attack | Before a mob attacks, try increasing its attack power |
register_new_target | Register a new target |
Var Details
gain_per_attack ![code/datums/components/focused_attacker.dm 7](git.png)
Amount of damage we gain per attack
last_target ![code/datums/components/focused_attacker.dm 13](git.png)
The last thing we attacked
maximum_gain ![code/datums/components/focused_attacker.dm 9](git.png)
Maximum amount by which we can increase our attack power
Proc Details
on_target_deleted
Drop our target ref on deletion
pre_item_attack
Before an item attacks, try increasing its attack power
pre_mob_attack
Before a mob attacks, try increasing its attack power
register_new_target
Register a new target