Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (client.Entity.TryGetItem(usage.UID, out item))
- {
- foreach (var Ditem in client.Entity.RuneItem.Values)
- {
- if (client.Entity.TryGetItem(Ditem.UID, out item2))
- {
- if (item2.Position == (ushort)usage.dwParam)
- {
- item2.Position = (ushort)211;
- client.Entity.RuneItem[item2.UID].Position = (ushort)211;
- ConquerItemTable.UpdatePosition(item2);
- if (item2.ID >= 4020101 && item2.ID <= 4023027)
- {
- uint Level = item2.ID;
- Level -= GatIDItemRune9and27(Level);
- if (client.Entity.Class >= 130 && client.Entity.Class <= 135)
- if (client.MySpells.ClientSpells.ContainsKey((ushort)(uint)(RuneSkillID(item2.ID) / 100)))
- client.MySpells.Remove((ushort)(ushort)(uint)(RuneSkillID(item2.ID) / 100), null);
- }
- else if (item2.ID >= 4010001 && item2.ID <= 4010901)
- if (client.Entity.Class >= 130 && client.Entity.Class <= 135)
- if (client.MySpells.ClientSpells.ContainsKey((ushort)(uint)(RuneSkillID(item2.ID) / 100)))
- client.MySpells.Remove((ushort)(ushort)(uint)(RuneSkillID(item2.ID) / 100), null);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement