Commit d1ac414ac034273a6df7f7b823cc4126ed05f448
1 parent
52dd0daa
combatAttackRanged supports mag_attack
Showing
5 changed files
with
2 additions
and
0 deletions
... | ... | @@ -1389,6 +1389,7 @@ function _M:combatAttackRanged(weapon, ammo) |
1389 | 1389 | local stats |
1390 | 1390 | if self:attr("use_psi_combat") then stats = (self:getCun(100, true) - 10) * (0.6 + self:callTalent(self.T_RESONANT_FOCUS, "bonus")/100) |
1391 | 1391 | elseif weapon and weapon.wil_attack then stats = self:getWil(100, true) - 10 |
1392 | + elseif weapon and weapon.mag_attack then stats = self:getMag(100, true) - 10 | |
1392 | 1393 | else stats = self:getDex(100, true) - 10 |
1393 | 1394 | end |
1394 | 1395 | local d = self:combatAttackBase(weapon, ammo) + stats + (self.combat_atk_ranged or 0) | ... | ... |

26.4 KB
... | ... | @@ -432,6 +432,7 @@ newEntity{ name = "Riala Shalarak", |
432 | 432 | define_as = "ARENA_BOSS_RIALA", |
433 | 433 | type = "humanoid", subtype = "human", |
434 | 434 | display = "@", |
435 | + resolvers.nice_tile{tall=1}, | |
435 | 436 | color=colors.VIOLET, |
436 | 437 | desc = _t[[A strong female magician. Years of experience make her a dangerous combatant.]], |
437 | 438 | level_range = {25, nil}, exp_worth = 3, | ... | ... |
-
Please register or login to post a comment