- Código:
INSERT INTO `skills` VALUES ('1000016', 'Spell', '30000', '4', '0', '0','41231');
INSERT INTO `spells` VALUES ('10338', '30000', '0006','AzureShield', '0', '0', '0', '0001', '0004', '0405', '12000', '0000', '0100', '0060', '0000', '0025', '0089', '0000', '0', '0110', '0000', '0000', '0000', '0', '0000', '0', '0000', '0', '0030', '0', '0000', '0000', '0000', '0001');
INSERT INTO `spells` VALUES ('10337', '30000', '0006','AzureShield', '0', '0', '0', '0001', '0003', '0280', '8000', '0000', '0100', '0050', '0000', '0023', '0089', '0000', '1690', '0090', '0000', '0000', '0000', '0', '0000', '0', '0000', '0', '0030', '0', '0000', '0000', '0000', '0001');
INSERT INTO `spells` VALUES ('10336', '30000', '0006','AzureShield', '0', '0', '0', '0001', '0002', '0169', '5200', '0000', '0100', '0040', '0000', '0022', '0089', '0000', '1442', '0070', '0000', '0000', '0000', '0', '0000', '0', '0000', '0', '0030', '0', '0000', '0000', '0000', '0001');
INSERT INTO `spells` VALUES ('10335', '30000', '0006','AzureShield', '0', '0', '0', '0001', '0001', '0123', '2800', '0000', '0100', '0035', '0000', '0021', '0089', '0000', '1190', '0050', '0000', '0000', '0000', '0', '0000', '0', '0000', '0', '0030', '0', '0000', '0000', '0000', '0001');
Game\Attacking\handle.cs
- Código:
//AzureShield
case 30000:
- Código:
}
break;
}
- Código:
//AzureShield
case 30000:
{
if (attacked == null)
return;
if (ServerBase.Kernel.GetDistance(attacker.X, attacker.Y, attacked.X, attacked.Y) <= spell.Distance)
{
if (CanUseSpell(spell, attacker.Owner))
{
PrepareSpell(spell, attacker.Owner);
SpellUse suse = new SpellUse(true);
suse.Attacker = attacker.UID;
suse.SpellID = spell.ID;
suse.SpellLevel = spell.Level;
suse.X = X;
suse.Y = Y;
suse.Targets.Add(attacked.UID, 0);
attacked.Owner.Screen.SendScreen(suse, true);
attacked.AzureStamp = Time32.Now;
attacked.AzureTime = (short)spell.Duration;
attacked.AzureDamage = spell.Power;
attacked.AddFlag(Update.Flags.AzureShield);
}
}
break;
}
network\packet handler.cs
- Código:
}
Interfaces.IConquerItem hand = client.Equipment.TryGetItem(5);
if (hand != null)
{
client.Equipment.Remove(5);
client.CalculateStatBonus();
client.CalculateHPBonus();
client.SendStatMessage();
}
else
client.SendScreen(client.Entity.SpawnPacket, false);
#endregion
#region Remove Extra Skill
if (client.Entity.FirstRebornClass == 15 && client.Entity.SecondRebornClass == 15 && client.Entity.Class == 15)
{
WontAdd(Conquer_Online_Server.Game.Enums.SkillIDs.DragonWhirl);
}
if (client.Entity.FirstRebornClass == 25 && client.Entity.SecondRebornClass == 25 && client.Entity.Class == 25)
{
WontAdd(Conquer_Online_Server.Game.Enums.SkillIDs.Perseverance);
}
if (client.Entity.FirstRebornClass == 45 && client.Entity.SecondRebornClass == 45 && client.Entity.Class == 45)
{
WontAdd(Conquer_Online_Server.Game.Enums.SkillIDs.StarArrow);
}
if (client.Entity.FirstRebornClass == 55 && client.Entity.SecondRebornClass == 55 && client.Entity.Class == 55)
{
WontAdd(Conquer_Online_Server.Game.Enums.SkillIDs.PoisonStar);
}
if (client.Entity.FirstRebornClass == 65 && client.Entity.SecondRebornClass == 65 && client.Entity.Class == 65)
{
WontAdd(Conquer_Online_Server.Game.Enums.SkillIDs.SoulShackle);
}
if (client.Entity.FirstRebornClass == 135 && client.Entity.SecondRebornClass == 135 && client.Entity.Class == 135)
{
WontAdd(Conquer_Online_Server.Game.Enums.SkillIDs.AzureShield);
}
if (client.Entity.FirstRebornClass == 145 && client.Entity.SecondRebornClass == 145 && client.Entity.Class == 145)
{
WontAdd(Conquer_Online_Server.Game.Enums.SkillIDs.HeavenBlade);
}
#endregion
Créditos: SwordMaster ZeroVB