[Request]Sprital Healing

11/06/2008 15:14 turk55#1
can someone help me i cant figure it out lmao :S
11/06/2008 15:17 KraHen#2
I never did it but all that you would have to do in the skill code (not mentioning other stuff) are displaying an effect, set stamina to 0 and make add a number to CurHP
11/06/2008 15:58 turk55#3
can ya add me on msn i dont really get it =/
i will send ya my email in a message
thx in advance
11/06/2008 16:00 _Emme_#4
Like this(top of my head ) :

if (SkillID = SPIRITHEALINGSKILLID)
{
if (!MyChar.MaxHP)
MyChar.CurHP += 500;
if (MyChar.CurHP > MyChar.MaxHP)
MyChar.MaxHP;
Send HP Packets
}




Something like that,it was just hints fyi. Goodluck!


Emme
}
11/06/2008 16:03 Padaras#5
Code:
                        if (SkillId == 1190 && Stamina >= 100)
                        {
                            if (SkillLvl == 0)
                            {
                                CurHP += 500;
                                if (CurHP > MaxHP)
                                    CurHP = MaxHP;
                                Stamina = 0;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                            }
                            if (SkillLvl == 1)
                            {
                                CurHP += 800;
                                if (CurHP > MaxHP)
                                    CurHP = MaxHP;
                                Stamina = 0;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                            }
                            if (SkillLvl == 2)
                            {
                                CurHP += 1300;
                                if (CurHP > MaxHP)
                                    CurHP = MaxHP;
                                Stamina = 0;
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 0, CurHP));
                                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                            }
                        }
Here you go, put it intto char.cs to region skillatributes7 then add spiritual healing in ur external or internal databese, it depends on what source you use... and ur done
11/06/2008 16:04 _Emme_#6
Great! The reason I did not release whole code was to actually get him to learn something,and ofcourse,someone ruined it..
11/06/2008 17:00 turk55#7
rofl ty emme and padaras <3
11/06/2008 20:34 KraHen#8
Quote:
Great! The reason I did not release whole code was to actually get him to learn something
That`s something that I appreciate^^
11/07/2008 07:47 turk55#9
the only problem is that i dont exacly know where to play in internal database :S
11/07/2008 08:50 KraHen#10
Then you can still learn something. Experiment a bit and if you can`t succeed, add my MSN (it`s on my profile)
11/07/2008 16:21 Padaras#11
lol sorry mate :D my bad, cmon its not acctualy a coding . . . its easy as hell here, and im stuck at dmgs atm, trying to change formals and include bless and fix tao dmg... and tao dmg and m-def is ruined in packets >.< so that aint gonna be easy
11/08/2008 16:07 turk55#12
padaras look here : [Only registered and activated users can see links. Click Here To Register...]
11/09/2008 19:03 Incariuz#13
Quote:
Originally Posted by Padaras View Post
Here you go, put it intto char.cs to region skillatributes7 then add spiritual healing in ur external or internal databese, it depends on what source you use... and ur done
Thanks a bunch. Haven't tried the code yet, but was simply having issues adding new ones, didn't think to add anything to database.cs aswell ><

Noob move for me, lol, but now I know better. Should be able to have all skills working by the end of today now.