Valentine90 Posted September 11, 2012 Author Share Posted September 11, 2012 **Sorry my english**When a player uses a spell in an area that affects MP, the magic affects you.**Open Server****1** - In **modCombat**, look for:```Case SPELL_TYPE_HEALHP, SPELL_TYPE_HEALMP, SPELL_TYPE_DAMAGEMP```**2 -** Scroll down to find:``` For i = 1 To Player_HighIndexIf IsPlaying(i) ThenIf GetPlayerMap(i) = GetPlayerMap(index) ThenIf isInRange(AoE, x, y, GetPlayerX(i), GetPlayerY(i)) ThenSpellPlayer_Effect VitalType, increment, i, Vital, spellNumDidCast = TrueEnd IfEnd IfEnd IfNext```**3 -** Replace with:``` For i = 1 To Player_HighIndexIf IsPlaying(i) ThenIf i <> index ThenIf GetPlayerMap(i) = GetPlayerMap(index) ThenIf isInRange(AoE, x, y, GetPlayerX(i), GetPlayerY(i)) ThenSpellPlayer_Effect VitalType, increment, i, Vital, spellNumDidCast = TrueEnd IfEnd IfEnd IfEnd IfNext```**Créditos:**Valentine Link to comment Share on other sites More sharing options...
hisherwin Posted September 13, 2012 Share Posted September 13, 2012 Very nice , You made all Bug Fixed Thanks 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