|
المشاركات 106 |
+التقييم 0.06 |
تاريخ التسجيل Mar 2020 |
الاقامة |
نظام التشغيل |
رقم العضوية 3603 |
#region Misc
#region MysteryFruit
case 3001044:
{
Npcs dialog = new Npcs(client);
dialog.Text("You~can~directly~use~Mystery~Fruit~to~receive~1 - 3~Attribute~Points. You~can");
dialog.Text("also~use~it~with~Mystery~Dew~or~Pay~270~CPs~to~get~the~best~effect~(3");
dialog.Text("attribute~points~without~fail). What~do~you~Think");
dialog.Option("Use~Mystery~Dew!", 1);
dialog.Option("Pay~270~Cps!", 2);
dialog.Option("Use~Mystery~Fruit~directly.", 3);
dialog.Option("i'll~think~about~it.", 255);
dialog.Send();
client.ActiveNpc = item.ID;
break;
}
#endregion
#region NpcDialog
#region MysteryFruit
if (client.ActiveNpc == 3001044)
{
if (req.OptionID == 255) return;
switch (req.OptionID)
{
case 1:
{
dialog.Text("Are~you~sure~youwant~to~use~a~Mystery~Dew~gain~the~best~effect");
dialog.Option("OK.", 5);
dialog.Option("Cancel.", 255);
dialog.Send();
break;
}
case 2:
{
dialog.Text("Are~you~sure~youwant~to~pay~270~CPs~to~gain~the~best~effect");
dialog.Option("OK.", 6);
dialog.Option("Cancel.", 255);
dialog.Send();
break;
}
case 3:
{
dialog.Text("You~will~randomly~gain~1 - 3~attribute~points~by~directly~using~the~Mystery~Fruit.~if");
dialog.Text("you~use~it~together~with~a~Mystery~Dew,you~will~gain~3~attribute~points~without");
dialog.Text("fail!~Would~you~like~to~use~fruit~right~away?");
dialog.Text("Tip:Mystery~Dew~can~be~bought~from~aren");
dialog.Option("OK.", 7);
dialog.Option("Cancel", 255);
dialog.Send();
break;
}
case 5:
{
if (client.Inventory.Contains(3001045, 1))
{
Random random3 = new Random();
switch (random3.Next(1, 5))
{
#region Fruit
case 1:
client.Entity.Agility += 3;
client.Entity.MysteryFruit += 3;
client.Inventory.Remove(3001045, 1);
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~3~!", null, null, 0);
break;
case 2:
client.Entity.Strength += 3;
client.Entity.MysteryFruit += 3;
client.Inventory.Remove(3001045, 1);
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strength~increased~by~3~!", null, null, 0);
break;
case 3:
client.Entity.Vitality += 3;
client.Entity.MysteryFruit += 3;
client.Inventory.Remove(3001045, 1);
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~3~!", null, null, 0);
break;
case 4:
client.Entity.Spirit += 3;
client.Entity.MysteryFruit += 3;
client.Inventory.Remove(3001045, 1);
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~3~!", null, null, 0);
break;
#endregion
}
}
else
{
client.MessageBox("You~don't~have~a~Mystery~Dew~to~gain~the~best~effects!~The~dew~can~be~bought~in~Arena~Store.", null, null, 0);
}
break;
}
case 6:
{
if (client.Entity.ConquerPoints >= 270)
{
Random random3 = new Random();
switch (random3.Next(1, 5))
{
#region Fruit
case 1:
client.Entity.Agility += 3;
client.Entity.MysteryFruit += 3;
client.Entity.ConquerPoints -= 270;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~3~!", null, null, 0);
break;
case 2:
client.Entity.Strength += 3;
client.Entity.MysteryFruit += 3;
client.Entity.ConquerPoints -= 270;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strength~increased~by~3~!", null, null, 0);
break;
case 3:
client.Entity.Vitality += 3;
client.Entity.MysteryFruit += 3;
client.Entity.ConquerPoints -= 270;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~3~!", null, null, 0);
break;
case 4:
client.Entity.Spirit += 3;
client.Entity.MysteryFruit += 3;
client.Entity.ConquerPoints -= 270;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~3~!", null, null, 0);
break;
#endregion
}
}
else
{
client.MessageBox("You~don't~have~a~270~CPs~to~gain~the~best~effects!~The~dew~can~be~bought~in~Arena~Store.", null, null, 0);
break;
}
break;
}
case 7:
{
Random random3 = new Random();
switch (random3.Next(1, 44))
{
#region Agility
case 1:
client.Entity.Agility += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~1~!", null, null, 0);
break;
case 2:
client.Entity.Agility += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~1~!", null, null, 0);
break;
case 3:
client.Entity.Agility += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~1~!", null, null, 0);
break;
case 4:
client.Entity.Agility += 2;
client.Entity.MysteryFruit += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~2~!", null, null, 0);
break;
case 5:
client.Entity.Agility += 2;
client.Entity.MysteryFruit += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~2~!", null, null, 0);
break;
case 6:
client.Entity.Agility += 3;
client.Entity.MysteryFruit += 3;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~3~!", null, null, 0);
break;
case 7:
client.Entity.Agility += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~1~!", null, null, 0);
break;
case 8:
client.Entity.Agility += 2;
client.Entity.MysteryFruit += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~2~!", null, null, 0);
break;
case 9:
client.Entity.Agility += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Agility~increased~by~1~!", null, null, 0);
break;
#endregion
#region Strength
case 10:
client.Entity.Strength += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~1~!", null, null, 0);
break;
case 11:
client.Entity.Strength += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~1~!", null, null, 0);
break;
case 12:
client.Entity.Strength += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~1~!", null, null, 0);
break;
case 13:
client.Entity.Strength += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~1~!", null, null, 0);
break;
case 14:
client.Entity.Strength += 2;
client.Entity.MysteryFruit += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~2~!", null, null, 0);
break;
case 15:
client.Entity.Strength += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~1~!", null, null, 0);
break;
case 16:
client.Entity.Strength += 2;
client.Entity.MysteryFruit += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~2~!", null, null, 0);
break;
case 17:
client.Entity.Strength += 3;
client.Entity.MysteryFruit += 3;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~3~!", null, null, 0);
break;
case 18:
client.Entity.Strength += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~1~!", null, null, 0);
break;
case 19:
client.Entity.Strength += 1;
client.Entity.MysteryFruit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Strenght~increased~by~1~!", null, null, 0);
break;
#endregion
#region Vitality
case 20:
client.Entity.MysteryFruit += 1;
client.Entity.Vitality += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~1~!", null, null, 0);
break;
case 21:
client.Entity.MysteryFruit += 1;
client.Entity.Vitality += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~1~!", null, null, 0);
break;
case 22:
client.Entity.MysteryFruit += 1;
client.Entity.Vitality += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~1~!", null, null, 0);
break;
case 23:
client.Entity.MysteryFruit += 2;
client.Entity.Vitality += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~2~!", null, null, 0);
break;
case 24:
client.Entity.MysteryFruit += 1;
client.Entity.Vitality += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~1~!", null, null, 0);
break;
case 25:
client.Entity.MysteryFruit += 1;
client.Entity.Vitality += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~1~!", null, null, 0);
break;
case 26:
client.Entity.MysteryFruit += 3;
client.Entity.Vitality += 3;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~3~!", null, null, 0);
break;
case 27:
client.Entity.MysteryFruit += 2;
client.Entity.Vitality += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~2~!", null, null, 0);
break;
case 28:
client.Entity.MysteryFruit += 1;
client.Entity.Vitality += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~1~!", null, null, 0);
break;
case 29:
client.Entity.MysteryFruit += 1;
client.Entity.Vitality += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Vitality~increased~by~1~!", null, null, 0);
break;
#endregion
#region Spirit
case 30:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 31:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 32:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 33:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 34:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 35:
client.Entity.MysteryFruit += 2;
client.Entity.Spirit += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~2~!", null, null, 0);
break;
case 36:
client.Entity.MysteryFruit += 3;
client.Entity.Spirit += 3;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~3~!", null, null, 0);
break;
case 37:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 38:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 39:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 40:
client.Entity.MysteryFruit += 2;
client.Entity.Spirit += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~2~!", null, null, 0);
break;
case 41:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 42:
client.Entity.MysteryFruit += 1;
client.Entity.Spirit += 1;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~1~!", null, null, 0);
break;
case 43:
client.Entity.MysteryFruit += 2;
client.Entity.Spirit += 2;
client.Inventory.Remove(3001044, 1);
client.MessageBox("You~used~the~Mystery~Fruit~and~your~Spirit~increased~by~2~!", null, null, 0);
break;
#endregion
}
break;
}
}
return;
}
#endregion
client.Entity.ConquerPoints = reader.ReadUInt64("ConquerPoints");
client.Entity.MysteryFruit = reader.ReadUInt16("MysteryFruit");
.Set("Strength", e.Strength)
.Set("MysteryFruit", e.MysteryFruit)
(ushort)(client.ExtraAtributePoints(client.Entity.FirstRebornLevel, client.Entity.FirstRebornClass) +
(ushort)(client.ExtraAtributePoints(client.Entity.FirstRebornLevel, client.Entity.FirstRebornClass) +
client.ExtraAtributePoints(client.Entity.SecondRebornLevel, client.Entity.SecondRebornClass) +62 + client.Entity.MysteryFruit);
case 59558:
#region attribute 8
case 4:
client.Entity.Atributes = (ushort)(client.ExtraAtributePoints(client.Entity.FirstRebornLevel, client.Entity.FirstRebornClass) +
client.ExtraAtributePoints(client.Entity.SecondRebornLevel, client.Entity.SecondRebornClass) + 52 + client.Entity.MysteryFruit + 3 * (client.Entity.Level - 15));
public static bool CanAttack(Game.Entity attacker, Game.Entity attacked #region Clone Section
if (attacker.MyClones != null)
{
if (attacker.MyClones.ContainsKey(attacked.UID))
{
return false;
}
}
public static bool canattack(game.entity attacker, game.entity attacked #region clone section
if (attacker.myclones != null)
{
if (attacker.myclones.containskey(attacked.uid))
{
return false;
}
}
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مشكلة في نسخ النينجا (الشادو)حل بعد اذنكم | Abod ayman | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-04-04 01:39 PM |
مشكلة في النينجا | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-04-01 03:21 AM |
مشكلة فى رون بتاع النينجا | nova | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2019-11-27 08:17 PM |
ضرورى من فضلكم مشكلة فى اتاك الكتانا بتاعة النينجا | ViORX | مشكلات السيرفيرات كونكر الشخصيه | 15 | 2019-09-05 05:59 PM |
مشكلة بخصوص اسكلة النينجا ToxicFog | MRonlineGvrix | مشكلات السيرفيرات كونكر الشخصيه | 9 | 2019-08-06 06:33 PM |