Astaea Posted June 17 Posted June 17 (edited) Hey, So I am attempting to make a new spell for a sublcass I wanna build that will apply a curse to a target that will deal damage and debuff similar to Hex. This spell will be the core mechanic of the class (the way hex is for Warlocks, and Hunter's Mark is for Rangers) so it is my starting point, and it's quite a bit more involved than most of what I need to do. I have spent a lot of time today trying to get it to work, but I can't seem to get the damage to apply. I have the cycle going, It applies the status, both to the enemy and the user, and once the enemy dies it gives me the free cast, but I can't get the damage working. I am pretty sure that this part is happening in the passive, but I can't seem to get it to call properly. Below I have shown Hex, Hunters Mark, and my Custom attempt. IF(HasHexStatus() and IsAttack()):DamageBonus(1d6, Necrotic) IF(HasStatus('HUNTERS_MARK',context.Target,context.Source) and IsWeaponAttack() and HasDamageEffectFlag(DamageFlags.Hit)):CharacterWeaponDamage(1d6) IF(HasStatus('LIFEDRINKER',context.Target,context.Source) and IsAttack()):DamageBonus(1d6,Necrotic); If anyone can help me figure this out it would be awesome. Edit: With some help from reddit, I have dropped the "has status" portion, and simply run it as IF(IsAttack():DamageBonus(1d6, Necrotic) now, and that has applied the damage to cantrips and physical attacks properly at least, however, it is not applying to spells (I tried both thunderwave and magic missile) I assume it would run better if I could get the context part of the function working, the status has to be working or else the passive wouldn't even be there, but I still need to figure out how to get it to do this with spells. I have added the pak in case anyone wants to peek inside. WraithWitch_cc8a12ee-a2d1-fff8-42d9-9f2ff1244224.pak Edited June 17 by Astaea Added Pak file in case anyone wants to take a look.
Recommended Posts