2011-02-01 06:16:13 +11:00
|
|
|
in defs.h:
|
|
|
|
add enum
|
|
|
|
increment MAXDAMTYPE
|
|
|
|
in objcets.c:
|
|
|
|
update getdamname() - eg. you take 5 "electrical" damage
|
|
|
|
update getdamnamenoun() - eg. you are immune to "electricity"
|
|
|
|
|
|
|
|
in attack.c
|
|
|
|
update getattackverb if required
|
|
|
|
update getkillverb if required
|
2011-03-04 12:22:36 +11:00
|
|
|
|
|
|
|
update attackob() to say whether dealing this damtype to an object
|
|
|
|
will dull a weapon.
|
|
|
|
ie. hitting a door with DT_CHOP won't damage the weapon
|
|
|
|
ie. hitting a door with DT_SLASH _will_ damage the weapon
|