Epic de warrio + skill [70%]
4 participantes
Página 1 de 1
Epic de warrio + skill [70%]
- Fotos:
Download dos códigos para o navicat e item.txt = Clique aqui
Em PacketHandler.cs Procure por :
Procure por #region Sanity checks
e adicione
- Código:
public static Positions GetPositionFromID
- Código:
if (iType == 624)
return Positions.Right;
if (iType == 624)
return Positions.Left;
- Código:
public static ushort ItemPosition(uint ID)
- Código:
if (iType == 624)
return ConquerItem.RightWeapon;
if (iType == 624)
return ConquerItem.LeftWeapon;
- Código:
public static Positions ItemPositionFromID(UInt32 itemid)
- Código:
else if ((iType >= 410 && iType <= 490) || (iType >= 500 && iType <= 580)
- Código:
else if ((iType >= 410 && iType <= 490) || (iType >= 500 && iType <= 580) || (iType >= 601 && iType <= 624))
Procure por #region Sanity checks
e adicione
- Código:
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
can2hand = true;
can2wpn = true;
}
- Código:
#region WaveofBlood
case 12690:
{
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;//mohamed watany
Fan sector = new Fan(attacker.X, attacker.Y, X, Y, spell.Range, spell.Sector);
if (Kernel.GetDistance(attacker.X, attacker.Y, X, Y) <= spell.Distance + 1)
{
foreach (Interfaces.IMapObject _obj in attacker.Owner.Screen.Objects)
{
if (_obj == null)
continue;//mohamed watany
if (_obj.MapObjType == MapObjectType.Monster || _obj.MapObjType == MapObjectType.Player)
{
attacked = _obj as Entity;
if (sector.IsInFan(attacked.X, attacked.Y))
{
if (CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee))
{
attack.Effect1 = Attack.AttackEffects1.None;
uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, spell, ref attack);
damage = (uint)(damage * 0.5);
suse.Effect1 = attack.Effect1;
ReceiveAttack(attacker, attacked, attack, ref damage, spell);
suse.AddTarget(attacked, damage, attack);
}
}
}
else if (_obj.MapObjType == MapObjectType.SobNpc)
{
attackedsob = _obj as SobNpcSpawn;
//mohamed watany
if (sector.IsInFan(attackedsob.X, attackedsob.Y))
{
if (CanAttack(attacker, attackedsob, spell))
{
attack.Effect1 = Attack.AttackEffects1.None;
uint damage = Game.Attacking.Calculate.Melee(attacker, attackedsob, ref attack);
ReceiveAttack(attacker, attackedsob, attack, damage, spell);
suse.AddTarget(attackedsob, damage, attack);
}
}
}
}
}
else
{
attacker.AttackPacket = null;
}
attacker.Owner.SendScreen(suse, true);
}
break;
}
#endregion
Re: Epic de warrio + skill [70%]
fiz tudo.. e agora como faço pra encontra a epic com as skill?
lzu- Membro
- Mensagens : 1
Data de inscrição : 23/08/2016
Re: Epic de warrio + skill [70%]
as epic você tem que pegar por comando de itens. ja tem tutorial aqui no forum sobre como fazer comandos :lzu escreveu:fiz tudo.. e agora como faço pra encontra a epic com as skill?
https://criandoumconquer.forumeiros.com/t160-comandos-de-gm-60?highlight=comandos
os skill você pode pegar por comando tbem, mais vou postar aqui o npc de promover que você pode pegar por lá:
- Código:
#region WarriorGod
case 10001:
{
dialog.Avatar(8);
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
dialog.Text("Warriors destory the enemies and sgield the Compatriots. but remember violence is a means of attaining a goal. Never let yourself sink into killing [MyThs-Co].");
dialog.Option("Learn Skills for Fist.", 7);
dialog.Option("Promote me.", 1);
dialog.Option("Learn Shiled skills.", 2);
dialog.Option("Learn Weapon skills.", 8);
dialog.Option("Learn Pure skills.", 17);
dialog.Option("Wait a minute.", 255);
dialog.Send();
}
else
{
dialog.Text("Only a warrior can learn what I have to teach. Our secrets are not for trade.");
dialog.Option("I~understand.", 255);
dialog.Send();
}
break;
}
#region Promote
case 1:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Class == 25)
{
dialog.Text("You cannot be promoted anymore. You have mastered your class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("To promote now you need" + client.PromoteItemNameNeed + " level " + client.PromoteLevelNeed + ".");
dialog.Option("Promote me sir.", 3);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 3:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Class == 25)
{
dialog.Text("You cannot be promoted anymore. You have mastered your class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
if (client.PromoteItemNeed == 721020)
{
if (client.Inventory.Remove("moonbox"))
{
client.Inventory.Add(client.PromoteItemGain, 0, 1);
client.Entity.Class++;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Text("Congratulations! You have been promoted.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You don't meet the requierments.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
return;
}
if (client.Inventory.Contains(client.PromoteItemNeed, client.PromoteItemCountNeed) && client.Entity.Level >= client.PromoteLevelNeed)
{
client.Inventory.Remove(client.PromoteItemNeed, client.PromoteItemCountNeed);
client.Inventory.Add(client.PromoteItemGain, 0, 1);
client.Entity.Class++;
client.Entity.Update(_String.Effect, "end_task", true);
dialog.Text("Congratulations! You have been promoted.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You don't meet the requierments.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
}
}
else
{
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
#endregion
#region all Skills
case 2:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
dialog.Text("Let me know what you want to learn.");
dialog.Option("XP Skills (Lvl 40).", 5);
dialog.Option("Dash (Lvl 61).", 6);
dialog.Option("Shield Block (Lvl 40).", 9);
dialog.Option("Defensive Stance (Lvl 70).", 10);
dialog.Option("Magic Defender (Lvl 40).", 11);
dialog.Send();
}
else
{
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 7:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
dialog.Text("If You`r interested in the skills for fist. I`m glad to give some guidance.");
dialog.Option("Sceare of Earth. (Lv.40).", 77);
dialog.Option("Wave or Blood (Lv.40).", 88);
dialog.Option("Maniac Dance.(Lv.40).", 99);
dialog.Option("Twist of war.(Lv.70).", 55);
dialog.Option("Backfire (Lvl 40).", 66);
dialog.Send();
}
else
{
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
#region Sceare
case 77:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 40)
{
dialog.Text("You have learned the Sceare of Earth of this Fist.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(12670));
if (!client.AddSpell(LearnableSpell(12670)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry , you can't get Sceare of Earth because you are not level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
#endregion
#region Wave or Blood
case 88:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 70)
{
dialog.Text("You have learned the Wave or Blood of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(12690));
if (!client.AddSpell(LearnableSpell(12690)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry , you can't get Wave or Blood because you are not level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
#endregion
#region Maniac Dance
case 99:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 40)
{
dialog.Text("You have learned the Maniac Dance of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(12700));
if (!client.AddSpell(LearnableSpell(12700)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry , you can't get Maniac Dance because you are not level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
#endregion
#region Twist of war
case 55:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 70)
{
dialog.Text("You have learned the Twist of war of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(12660));
if (!client.AddSpell(LearnableSpell(12660)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry , you can't get Twist of war because you are not level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
#endregion
#region Back Fire
case 66:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 61)
{
dialog.Text("You have learned the Twist of war Skill of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(12680));
if (!client.AddSpell(LearnableSpell(12680)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 61 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
#endregion
case 8:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 40)
{
dialog.Text("You have learned the Fast/Sceand of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(1045));
client.AddSpell(LearnableSpell(1046));
if (!client.AddSpell(LearnableSpell(1045)))
if (!client.AddSpell(LearnableSpell(1046)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry , you can't get Fast/Sceand because you are not level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 17:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 40)
{
dialog.Text("You have learned the Perseverance of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(10311));
if (!client.AddSpell(LearnableSpell(10311)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry , you can't get Perseverance because you are not level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 11:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 40)
{
dialog.Text("You have learned the Magic Defender of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11200));
if (!client.AddSpell(LearnableSpell(11200)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry , you can't get Magic Defender because you are not level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 10:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 70)
{
dialog.Text("You have learned the Defensive Stance of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11160));
if (!client.AddSpell(LearnableSpell(11160)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry , you can't get Defensive Stance because you are not level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 9:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 40)
{
dialog.Text("You have learned the Shield Block of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(10470));
if (!client.AddSpell(LearnableSpell(10470)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("Sorry , you can't get Shield Block because you are not level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 5:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 40)
{
dialog.Text("You have learned the XP Skills of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(1025));
client.AddSpell(LearnableSpell(1020));
client.AddSpell(LearnableSpell(1015));
}
else
{
dialog.Text("You need to be level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 6:
{
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
{
if (client.Entity.Level >= 61)
{
dialog.Text("You have learned the Dash Skill of this class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(1051));
if (!client.AddSpell(LearnableSpell(1051)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
}
else
{
dialog.Text("You need to be level 61 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
#endregion
}
break;
}
#endregion
Re: Epic de warrio + skill [70%]
Pega em qualquer versão??
celsinhoms- Membro
- Mensagens : 6
Data de inscrição : 30/05/2016
Re: Epic de warrio + skill [70%]
sim, porem você terá que ter o client na versão mais atualizadacelsinhoms escreveu:Pega em qualquer versão??
Re: Epic de warrio + skill [70%]
onde eu acho ( PacketHandler.cs ,#region Sanity checks ,Handle.cs e #region Speed Kick) eu procurei foi muito e nada todas as sources tem isso a minha é a do roberto
abraao- Membro
- Mensagens : 15
Data de inscrição : 11/10/2016
Tópicos semelhantes
» Adicionar a Epic de Warrio 100% com skill e soul
» Quest da epic de Warrio TQ
» Novo P7 da epic de warrio
» Source com Epic de Warrio [TeamBlackGenie]
» Source Privte Coders V1 6350 (Epic de Warrio) + Tutorial de como Ligar
» Quest da epic de Warrio TQ
» Novo P7 da epic de warrio
» Source com Epic de Warrio [TeamBlackGenie]
» Source Privte Coders V1 6350 (Epic de Warrio) + Tutorial de como Ligar
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|