Commit 796d5b1512d73e3c73a85863cd9dad0b93a57e62

Authored by DarkGod
2 parents 7251a343 4ef6eb0e

Merge branch 'kneecapper-kill-shot-fix' into 'master'

Update targeting parameters for Kneecapper and Kill Shot

Update targeting parameters for Kneecapper and Kill Shot so they will not trigger a shot or go on cooldown or use energy when targeting an empty tile. Behavior was inconsistent between the two, and Called Shots won't hit an actor that is not targeted, so targeting an empty tile is useless and may as well be prevented.

See merge request !742
... ... @@ -100,7 +100,7 @@ newTalent {
100 100 end
101 101 pen_off(self, t, target, x, y)
102 102 end,
103   - archery_target_parameters = {one_shot = true},
  103 + archery_target_parameters = {limit_shots = 1, multishots = 1}, -- {one_shot = true},
104 104 damage_multiplier = function(self, t)
105 105 return self:combatTalentWeaponDamage(t, 1.5, 1.9)
106 106 end,
... ... @@ -149,7 +149,7 @@ newTalent {
149 149 archery_onhit = function(self, t, target, x, y)
150 150 pen_off(self, t, target, x, y)
151 151 end,
152   - archery_target_parameters = {one_shot = true},
  152 + archery_target_parameters = {limit_shots = 1, multishots = 1}, --{one_shot = true},
153 153 speed = "archery",
154 154 action = function(self, t)
155 155 local tg = {type = "hit"}
... ...