Get the size ATTACK token @param pc @param aType @return size ATTACK token
(PlayerCharacter pc, AttackType aType)
| 154 | * @return size ATTACK token |
| 155 | */ |
| 156 | public static int getSizeToken(PlayerCharacter pc, AttackType aType) |
| 157 | { |
| 158 | int tohitBonus = (int) pc.getSizeAdjustmentBonusTo("TOHIT", "TOHIT") |
| 159 | + (int) pc.getSizeAdjustmentBonusTo("TOHIT", "TYPE." + aType); |
| 160 | int sizeBonus = (int) pc.getSizeAdjustmentBonusTo("COMBAT", "TOHIT") |
| 161 | + (int) pc.getSizeAdjustmentBonusTo("COMBAT", "TOHIT." + aType); |
| 162 | |
| 163 | return sizeBonus + tohitBonus; |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * get stat ATTACK token |
no test coverage detected