Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (MyPlayer.ship == null)
- {
- for (int i = 0; i < GamePlayer.list.size; ++i)
- {
- GamePlayer p = GamePlayer.list[i];
- if (p.isObserver) continue;
- if (p.ship != null)
- {
- p.ship.AddBuff("BuffHull", 1000000f, -1f);
- p.ship.AddBuff("BuffDamage", 40000f, -1f);
- p.ship.AddBuff("BuffSight", 1f, -1f);
- p.ship.AdjustHP(1f, 1f, null, 1f);
- }
- }
- if (GameShip.list.size < 30)
- {
- MyPlayer.SummonShip(4, 0);
- MyPlayer.SummonShip(4, 0);
- MyPlayer.SummonShip(4, 0);
- MyPlayer.SummonShip(4, 0);
- }
- }
- else
- {
- MyPlayer.ship.AddBuff("BuffHull", 5000000f, -1f);
- MyPlayer.ship.AddBuff("BuffDamage", 1000000f, -1f);
- MyPlayer.ship.AddBuff("BuffSight", 1f, -1f);
- MyPlayer.ship.AdjustHP(1f, 1f, null, 1f);
- }
Advertisement
Add Comment
Please, Sign In to add comment