User Tools

Site Tools


user:loggy:misc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
user:loggy:misc [2023/10/31 15:44]
loggy hp routing
user:loggy:misc [2023/12/12 13:05] (current)
loggy digging for the apostasy bug
Line 1206: Line 1206:
    * pd (temp flag=3) contribute hp/4 rounded up    * pd (temp flag=3) contribute hp/4 rounded up
    * slaves contribute hp/2 rounded up    * slaves contribute hp/2 rounded up
 +
 +Blastsquare (and the apostasy bug)
 +  * A = size points in square + open 2d6
 +  * A gets 999 added if battle enchant/timestop or the spell has ignore shields spec value
 +  * If spell doesn't have the nonmagical spec, add 2 more to A
 +  * %%B = (2 - victim fatigue/20 rounded down) + open 2d6%%
 +  * Get your shield defence/parry value, and double it.
 +  * If spec has either "flail spec" 4 or AN 128, shield defence/parry value = 0.
 +  * Calc effective shield prot: fetch the value, if spec has AP, halve it, if spell is AN or ignores shields then this is zero.
 +  * If spec has neither flail spec 4 or AN 128, and the victim is standing on a fort wall
 +    * If shield defence/parry was less than 10, set it to 10.
 +    * If shield prot was less than 30, set it to 30. Then, if the effect was AP, half it. (this seemingly introduces an order of operations bug - if you have a prot 36 shield vs AP, you'll use the wall bonus instead despite it being worse)
 +  * If you have air shield, there's a value% chance to add 100 to B.
 +  * If A < B, the victim avoids all damage.
 +  * If A < (B + the shield's parry value), you hit the shield.
  
 FIXME look at what sets the assassination flag, very likely there is a bug in the spells that don't use it (which will cause casting AI to not have the reduced buff preference) FIXME look at what sets the assassination flag, very likely there is a bug in the spells that don't use it (which will cause casting AI to not have the reduced buff preference)
user/loggy/misc.txt ยท Last modified: 2023/12/12 13:05 by loggy