Whitepinkbun Posted December 27, 2011 Author Share Posted December 27, 2011 Hey guys i am tryin to get the transformation spell working in my game…. for pokemon evolutions but when i use it i get the heal with 0+ constantly pooring above my head.... any ideas? \ Select Case SpellCastType Case 0 ' self-cast target Select Case Spell(spellnum).Type Case SPELL_TYPE_HEALHP SpellPlayer_Effect Vitals.HP, True, index, Vital, spellnum If Spell(spellnum).Sprite > 0 Then SendAnimation MapNum, Spell(spellnum).SpellAnim, 0, 0, TARGET_TYPE_PLAYER, index SetPlayerSprite index, Spell(spellnum).Sprite Call SendPlayerData(index) End If DidCast = True Case SPELL_TYPE_HEALMP SpellPlayer_Effect Vitals.MP, True, index, Vital, spellnum If Spell(spellnum).Sprite > 0 Then SendAnimation MapNum, Spell(spellnum).SpellAnim, 0, 0, TARGET_TYPE_PLAYER, index SetPlayerSprite index, Spell(spellnum).Sprite Call SendPlayerData(index) End If DidCast = True Case SPELL_TYPE_WARP SendAnimation MapNum, Spell(spellnum).SpellAnim, 0, 0, TARGET_TYPE_PLAYER, index PlayerWarp index, Spell(spellnum).Map, Spell(spellnum).x, Spell(spellnum).y SendAnimation GetPlayerMap(index), Spell(spellnum).SpellAnim, 0, 0, TARGET_TYPE_PLAYER, index DidCast = True Case SPELL_TYPE_PET SpawnPet index, GetPlayerMap(index), Spell(spellnum).PetNum DidCast = True End Select^ think itd be in there any help is apreciated cheers Link to comment Share on other sites More sharing options...
PD Posted December 27, 2011 Share Posted December 27, 2011 Try removing the line:```SpellPlayer_Effect Vitals.HP, True, index, Vital, spellnum```from under:```Case SPELL_TYPE_HEALHP```That should do it :cheesy: Link to comment Share on other sites More sharing options...
Whitepinkbun Posted December 27, 2011 Author Share Posted December 27, 2011 Wont that get rid of the spell effect for my actual heals too :D? Thanks for the response btw :)Ah never mind lol.Made a new spell type fixed the problem by duplicating the heal case and removing the part you said too :D Thanks for the help man! Link to comment Share on other sites More sharing options...
PD Posted December 27, 2011 Share Posted December 27, 2011 @Whitepinkbun:> Wont that get rid of the spell effect for my actual heals too :D? Thanks for the response btw :)> > Ah never mind lol.> Made a new spell type fixed the problem by duplicating the heal case and removing the part you said too :D Thanks for the help man!Hah, no problem :cheesy: 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