iHero Posted January 19, 2012 Author Share Posted January 19, 2012 **Client~Side**In frmEditor_Spell cmbTyppe add to the end of the list> TransNow create a frame with the following settings:> Name: fraTrans> Caption: Transformation> Visible: FalseAnd inside a scrollbox and create a label with the settings:> Label> > Name: lblTrans> Caption: Sprite Transformation: None> > ScrollBox> > Name: scrlTransAnd within the scrlTrans add:``` ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler lblTrans.Caption = "Sprite da Transformação: " & scrlTrans.Value Spell(EditorIndex).trans = scrlTrans.Value ' Error handler Exit Suberrorhandler: HandleError "scrlTrans_Change", "frmEditor_Spell", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit Sub```In 2 clicks in cmbType and add this inside:``` If cmbType.ListIndex = SPELL_TYPE_TRANFORMATION Then scrlRange.Value = 0 chkAOE.Value = 1 fraTrans.Visible = True End If```Look for:``` .scrlRange.Value = Spell(EditorIndex).Range```Add bellow:``` .scrlTrans.Value = Spell(EditorIndex).Trans```At the end of Private Type End Type SpellRec before add:``` Trans As Long```Look for:```Public Const SPELL_TYPE_WARP As Byte = 4```Add below:```Public Const SPELL_TYPE_TRANFORMATION As Byte = 5```**Serve~Side**At the end of Private Type End Type SpellRec before add:``` Trans As Long```Look for:```Public Const SPELL_TYPE_WARP As Byte = 4```Add below:```Public Const SPELL_TYPE_TRANFORMATION As Byte = 5```Look for:``` ' find out what kind of spell it is! self cast, target or AOE```Add up:``` ' Transformation With Spell(SpellNum) If .Type = SPELL_TYPE_TRANFORMATION Then Call SetPlayerSprite(Index, Spell(Index).Trans) Call SetPlayerStat(Index, Stats.Strength, GetPlayerRawStat(Index, Stats.Strength) * 2) Call SetPlayerStat(Index, Stats.Endurance, GetPlayerRawStat(Index, Stats.Endurance) * 2) Call PlayerWarp(Index, GetPlayerMap(Index), GetPlayerX(Index), GetPlayerY(Index)) End If End With```Credits:iHero Link to comment Share on other sites More sharing options...
erkro1 Posted January 20, 2012 Share Posted January 20, 2012 Cool lettertype, but why have you made everything centered? Link to comment Share on other sites More sharing options...
iHero Posted January 20, 2012 Author Share Posted January 20, 2012 It is customary and also I like Link to comment Share on other sites More sharing options...
erkro1 Posted January 20, 2012 Share Posted January 20, 2012 Its way better now. ;)Still, I think this is useless without a timer, but thats just my opinion. Link to comment Share on other sites More sharing options...
iHero Posted January 20, 2012 Author Share Posted January 20, 2012 Hm, yes, but not everything needs a timer boy Link to comment Share on other sites More sharing options...
SharicX Posted September 14, 2012 Share Posted September 14, 2012 You can turn back to normal, right? Link to comment Share on other sites More sharing options...
DMF Posted January 9, 2013 Share Posted January 9, 2013 ran into dis topic and agrees dis should be answered. can you return to normal? Link to comment Share on other sites More sharing options...
Matt Posted January 9, 2013 Share Posted January 9, 2013 You can return to normal through anything that changes sprites. The spell will not return you to your original sprite after time. Link to comment Share on other sites More sharing options...
tslusny Posted January 9, 2013 Share Posted January 9, 2013 This spell is totally uselless without buffs, or atleast timer what will change your sprite back after pre-set duration of spell. Link to comment Share on other sites More sharing options...
hisherwin Posted January 10, 2013 Share Posted January 10, 2013 There is one tutorial that is same as this topic , But it has a buff.. 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