Advertisement
Guest User

ضصثضصث

a guest
Jul 23rd, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.98 KB | None | 0 0
  1.                         if (client.Entity.TryGetItem(usage.UID, out item))
  2.                         {
  3.                             foreach (var Ditem in client.Entity.RuneItem.Values)
  4.                             {
  5.                                 if (client.Entity.TryGetItem(Ditem.UID, out item2))
  6.                                 {
  7.                                     if (item2.Position == (ushort)usage.dwParam)
  8.                                     {
  9.                                         item2.Position = (ushort)211;
  10.                                         client.Entity.RuneItem[item2.UID].Position = (ushort)211;
  11.                                         ConquerItemTable.UpdatePosition(item2);
  12.                                         if (item2.ID >= 4020101 && item2.ID <= 4023027)
  13.                                         {
  14.                                             uint Level = item2.ID;
  15.                                             Level -= GatIDItemRune9and27(Level);
  16.                                             if (client.Entity.Class >= 130 && client.Entity.Class <= 135)
  17.                                             if (client.MySpells.ClientSpells.ContainsKey((ushort)(uint)(RuneSkillID(item2.ID) / 100)))
  18.                                                 client.MySpells.Remove((ushort)(ushort)(uint)(RuneSkillID(item2.ID) / 100), null);
  19.                                         }
  20.                                         else if (item2.ID >= 4010001 && item2.ID <= 4010901)
  21.                                             if (client.Entity.Class >= 130 && client.Entity.Class <= 135)
  22.                                                
  23.                                             if (client.MySpells.ClientSpells.ContainsKey((ushort)(uint)(RuneSkillID(item2.ID) / 100)))
  24.                                                 client.MySpells.Remove((ushort)(ushort)(uint)(RuneSkillID(item2.ID) / 100), null);
  25.                                     }
  26.                                 }
  27.                             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement