Soyer
Member
- Joined
- May 2, 2017
- Messages
- 23
- Reaction score
- 5
Hello, I wanted to make custom area arrows (similar to burst arrows but with energy/fire/ice/poison dmg), they are working properly (dealing correct element and area range damage) but there is no distanceeffect while I'm attacking monsters using them. What I have already done:
When I replace my custom arrow sprites with other ammunition everything works perfectly.
- Created new arrow sprites,
- Added to "Object Builder" to the "Missile" section and compiled,
- Added to the "tools.cpp" to "ShootTypeNames" and "AmmoTypeNames",
- Added to "const.h" to "enum ShootType_t : uint8_t",
- Created new lua scripts in "weapons\scripts" folder with correct "CONST_ANI" type.
When I replace my custom arrow sprites with other ammunition everything works perfectly.