viciousdead Posted March 30, 2011 Author Share Posted March 30, 2011 I can't figure out how to prevent mp and hp AoE/Target spells from healing npcs, can someone help me out? I've tried playing around with the modCombat, but nothing I do works… :sad:This is what I tried editing in SEVERAL ways, but it didn't work:``` If TARGET_TYPE_NPC = True Then DidCast = True Else SpellPlayer_Effect Vitals.HP, True, Index, Vital, spellnum DidCast = True End If Case SPELL_TYPE_HEALMP If TARGET_TYPE_NPC = True Then DidCast = True Else SpellPlayer_Effect Vitals.MP, True, Index, Vital, spellnum DidCast = True End If```Reason for Edit: Code tags don't work in spoiler tags. Link to comment Share on other sites More sharing options...
goku1993 Posted March 31, 2011 Share Posted March 31, 2011 Doesn't this just heal when it's not an npc? You never told it not to heal if it's an npc… Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now