ArenMook

Untitled

Oct 29th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. if (MyPlayer.ship == null)
  2. {
  3. for (int i = 0; i < GamePlayer.list.size; ++i)
  4. {
  5. GamePlayer p = GamePlayer.list[i];
  6. if (p.isObserver) continue;
  7.  
  8. if (p.ship != null)
  9. {
  10. p.ship.AddBuff("BuffHull", 1000000f, -1f);
  11. p.ship.AdjustHP(1f, 1f, null, 1f);
  12. }
  13. }
  14. }
  15. else
  16. {
  17. MyPlayer.ship.AddBuff("BuffHull", 5000000f, -1f);
  18. MyPlayer.ship.AdjustHP(1f, 1f, null, 1f);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment