Are any skills coded at all?Quote:
Those codes are from Skill.cs :D look heres a screen shot
Screen: [Only registered and activated users can see links. Click Here To Register...]
Are any skills coded at all?Quote:
Those codes are from Skill.cs :D look heres a screen shot
Screen: [Only registered and activated users can see links. Click Here To Register...]
Wellgee korvacs how come you didnt just say that in the first place lolQuote:
The load method just loads in skill details, where skills are used are:
SkillUse.use()
Hold on ill PM you itQuote:
Link me to the source please.
public void Use()
Cant find SkillUse -.-Quote:
Goto Skill.cs
Then find SkillUse (its a struct)
Then find the Use() void within the struct and they are in there.
#Edit at Sion~Quote:
public struct SkillUse
if (Single == 6700 && GuildWars.War && User.MyGuild != null && User.MyGuild != GuildWars.LastWinner)
{
MiscTargets.Add(Single, GetDamage(GuildWars.ThePole.CurHP));
AimX = GuildWars.ThePole.Loc.X;
AimY = GuildWars.ThePole.Loc.Y;
}
else if (Single == 6701 && !GuildWars.TheLeftGate.Opened && GuildWars.War)
{
MiscTargets.Add(Single, GetDamage(GuildWars.TheLeftGate.CurHP));
AimX = GuildWars.TheLeftGate.Loc.X;
AimY = GuildWars.TheLeftGate.Loc.Y;
}
else if (Single == 6702 && !GuildWars.TheRightGate.Opened && GuildWars.War)
{
MiscTargets.Add(Single, GetDamage(GuildWars.TheRightGate.CurHP));
AimX = GuildWars.TheRightGate.Loc.X;
AimY = GuildWars.TheRightGate.Loc.Y;
}
}p
public void Use()
{
try
{
uint Exp = 0;
foreach (DictionaryEntry DE in MiscTargets)
{
uint EntityID = (uint)DE.Key;
uint Damage = (uint)DE.Value;
if (EntityID == 6700)
GuildWars.ThePole.TakeAttack(User, Damage, 21);
if (EntityID == 6701)
GuildWars.TheLeftGate.TakeAttack(User, Damage, 21);
if (EntityID == 6702)
GuildWars.TheRightGate.TakeAttack(User, Damage, 21);
}
case ExtraEffect.FatalStrike:
{
if (C.StatEff.Contains(StatusEffectEn.Ride))
{
C.StatEff.Remove(StatusEffectEn.Ride);
}
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.FatalStrike;
C.AddBuff(B);
break;
}