#Health drain
12 messages · Page 1 of 1 (latest)
You would create an SpEffect that is added to the target upon hitting, however, that’s the extent to my knowledge. I think from there you work with emevd, and I am not the most familiar. However, try searching in the server for health drain, I remember seeing others ask about it
If you want to make it drain when the spell hits the you'd make a speffect that is applied to the attacker with certain targets and put it on the bullet
If you want it to apply to the player when it's used then you can eitherattach it to the bullet itself via the spEffectIDForShooter field or put it in one of the refId fields in Magic and add a CastHighlightedMagic block to the TAE that references that refId
ahh thank you!!
BehaviorSpEffect ID 1 - 2 and 3 in EquipParamWeapon can also be used this way.
thank you
@lofty hare
Also you might of noticed by now but EldenRing Healing is very counter intuitive and some effects require negative values in HP + to heal and some use positive values...I was checking this yesterday for someone else and it really is all over the place with weird StateInfos like
452 ->[ Recovery 👈🤔👉 Damage ].
And some of them don't work if they "Target Player" others need this to be enabled...strange choices honestly when it could be so simple lol.
These are the other state infos game uses for healing
:[--------------------------------]
42:[ HP RECOVERY
50:[ HP / FP / SP RECOVERY
207:[ JAILER HP DRAIN
284:[ HEAL SPELL
448:[ HEAL INVADER WHEN BLESSED ENEMY KILLS PLAYER
1000:[ GET HP
:[--------------------------------]
Sheesh
You don't need any stateinfos for health drain on spells