First it needs to be tested. This can be done by the builders who put traps in their areas of course.
Second, I need your help making traps. I would like a general base of traps for builders to begin with and we can add on from there. Any builders who have traps in their areas now or plan to add them should apply.
There are two formats that traps might take. The first uses a skill or spell to determine how the trap acts. As you can see the one below casts acid arrow.
Code: Select all
#TRAP
Name a minor acid trap~
Type TTYPE_MINOR_ACID
DamageType SD_ACID
Target TTARGET_CHAR
Skill acid arrow~
Learnmod 3
Expmod 3
Level 10
End
Code: Select all
#TRAP
Name a deadly spike trap~
Type TTYPE_DEADLY_SPIKE
DamageType SD_PIERCE
DNum 10
DType 4
Target TTARGET_CHAR
Learnmod 13
Expmod 50
Level 50
End
- TTARGET_NONE 0
TTARGET_CHAR 1
TTARGET_ROOM 2
TTARGET_OBJ 3
- SD_NONE 0
SD_FIRE 1
SD_COLD 2
SD_ELECTRICITY 3
SD_ENERGY 4
SD_ACID 5
SD_POISON 6
SD_DRAIN 7
SD_HOLD 8
SD_PHYSICAL 9
SD_HEALING 10
SD_MIND 11
SD_BASH 12
SD_PIERCE 13
SD_SLASH 14
SD_NONMAGIC 15
Tyr