at Character.cs more ore less at line 1711 add this:
Code:
public bool CanReflect = false;
Now you have to make a check for the CanReflect become true....
go to LoadCharacter void at database.cs and add this after the load for skills:
Code:
if(Skill.ID == 3060)
C.CanReflect = true;
mine one has become like this... but i use mysql database : D so i can't post it because shoudn't work for some people.... : X
Code:
Game.Skill Skill = new Game.Skill();
Skill.ID = Convert.ToUInt16(DR["id"]);
Skill.Lvl = Convert.ToByte(DR["level"]);
Skill.Exp = Convert.ToUInt32(DR["experience"]);
if (!C.Skills.ContainsKey(Skill.ID))
{
C.Skills.Add(Skill.ID, Skill);
}
>> if (Skill.ID == 3060)
>> {
>> C.CanReflect = true;// by the way you need to use only this last 3 lines!!
>> }
go to LoadCharacter void at Database.cs ... and search for C.Skills.Add(S.ID, S);
after it add if (S.ID == 3060) C.CanReflect = true; than just follow the thread that will work : D
go to LoadCharacter void at Database.cs ... and search for C.Skills.Add(S.ID, S);
after it add if (S.ID == 3060) C.CanReflect = true; than just follow the thread that will work : D
[Release] Durability remove (5165 LOTF) 07/23/2010 - CO2 PServer Guides & Releases - 13 Replies Hi hi!
maybe isn't a good code... but it works... i tested : D
if you wan't to change the chance to reduce ... be free for say if is there something wrong..... : D
make a new class at Extra folder and name it Durability.cs... the copy and paste :
using System;
using System.Collections.Generic;
[Release] Durability Repair (5165 Lotf) 02/19/2010 - CO2 PServer Guides & Releases - 8 Replies Hi hi!
this is the semi-code for repair.... not fully made but works...
i'm working on it.... if someone want to help ... would be great....
make a new class at PacketHandling.ItemPacket folder and paste this there:
using System;
using System.Collections.Generic;
[Help] Reflect on 5165 12/19/2009 - CO2 Private Server - 1 Replies anyone know how to add reflect?
i found reflect on skilladder.cs
Reflect = 3060
and i edit the 2nd rb code found in character.cs with this code..
if (Reborns == 2)
{
[Request] Reflect, RB Guards, LOTF 04/15/2009 - CO2 Private Server - 15 Replies Ok, guys I need your help, There is only one guide on RB guards which doesn't work.
And 2 Releases on Reflect, which were deleted, any help please.