Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. if (target.NobilityRank == Role.Instance.Nobility.NobilityRank.King && Program.NobMapAttack.Contains(player.Map))//in test Mode
  2. {
  3. if (target.Nobility.Donation >= 1000000)
  4. {
  5. target.Nobility.Donation -= SpellObj.Damage;
  6. using (var rect = new ServerSockets.RecycledPacket())
  7. {
  8. var stream = rect.GetStream();
  9. if (target.Nobility == null)
  10. {
  11. target.Nobility = new Project_Terror_v2.Role.Instance.Nobility(target.Owner);
  12. }
  13. target.Owner.Send(stream.NobilityIconCreate(target.Nobility));
  14. target.NobilityRank = target.Nobility.Rank;
  15. target.Owner.Equipment.QueryEquipment(target.Owner.Equipment.Alternante, false);
  16. }
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement