Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] Npc Hp/Mp Recovery Fix?


viciousdead
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...