Thread: Comp 226
View Single Post
Old November 5, 2019, 17:31   #21
DavidMedley
Swordsman
 
Join Date: Oct 2019
Posts: 312
DavidMedley is on a distinguished road
Vampire Form Discrepancy

Finishing transcribing all the necro spells to my spreadsheet and I noticed a discrepancy: Vampire Form description says it costs you half your HP, but the formula in shape.txt seems to say 1/4th.

Code:
spell:Vampire Form:37:20:60:140
effect:SHAPECHANGE:vampire
effect:JUMP_AND_BITE
dice:$B
expr:B:PLAYER_LEVEL:+ 0
desc:Allows you to assume the form of a vampire at the cost of half your 
desc: current hitpoints, than teleports you to the nearest living monster
desc: and drains a level-dependent number of hitpoints, healing and nourishing
desc: you.  When first transformed you will temporarily be able
desc: to take hitpoints from living monsters with your bite attack.

name:vampire
combat:3:3:-5
obj-flags:SEE_INVIS | HOLD_LIFE
values:LIGHT[-1] | STEALTH[3] | INFRA[3]
effect:DAMAGE
dice:$B
expr:B:PLAYER_HP:/ 4
effect-msg:taking vampire form
effect:TIMED_INC:ATT_VAMP
dice:10+1d20
blow:bite
DavidMedley is offline   Reply With Quote