How to make Holy Bolt pass through and affect everything?
Posted: Tue Sep 22, 2020 1:43 pm
I'm trying to make Holy Bolt functions like how it does in PoD, but I'm running into some problems. Here's the Holy Bolt line from Missiles.txt:
I've changed it to this:
It's so close, but there are a few problems:
1. It doesn't show its impact when damaging. It seems that pCltHitFunc controls the damage function, so setting to 1, for example, shows a the fireball hit, but leaving on 9 doesn't show the holy hit, and setting to 0 removes its ability to damage.
2. It can either heal or damage; if the first thing it hits is a monster, it only damages everything it hits, but if the first thing it hits is an ally, it only heals everything it hits
Is there a way to fix these two issues? It seems that pSrvHitFunc controls the healing, so I have to leave that on 7. I've played around with various numbers, but they only changes the animation, yet setting either pCltHitFunc/pSrvHitFunc to 0 removes its ability to damage/heal respectively.
Code: Select all
holybolt 55 1 9 1 7 1 heals allies? 1 "0 = all, 1 = undead, 2 = demons" 1 heals allies? 1 "0 = all, 1 = undead, 2 = demons" 20 20 50 7 222 222 255 1 0 1 HolyBoltMissile 1024 16 16 3 1 1 1 1 1 1 1 1 1 1 Holy Bolt 4 1 paladin_holybolt_1 paladin_holybolt_impact_1 healing teethexplode 0
Code: Select all
holybolt 55 1 9 1 7 1 heals allies? "0 = all, 1 = undead, 2 = demons" 1 heals allies? "0 = all, 1 = undead, 2 = demons" 20 20 50 7 222 222 255 1 0 1 HolyBoltMissile 1024 16 16 3 1 1 1 1 1 1 1 1 Holy Bolt 4 1 paladin_holybolt_1 paladin_holybolt_impact_1 healing teethexplode 0
1. It doesn't show its impact when damaging. It seems that pCltHitFunc controls the damage function, so setting to 1, for example, shows a the fireball hit, but leaving on 9 doesn't show the holy hit, and setting to 0 removes its ability to damage.
2. It can either heal or damage; if the first thing it hits is a monster, it only damages everything it hits, but if the first thing it hits is an ally, it only heals everything it hits
Is there a way to fix these two issues? It seems that pSrvHitFunc controls the healing, so I have to leave that on 7. I've played around with various numbers, but they only changes the animation, yet setting either pCltHitFunc/pSrvHitFunc to 0 removes its ability to damage/heal respectively.