test2.txt 544 B

1234567891011121314151617181920
  1. z = entity.spawn("spider", entity.getLocation(p));
  2. entity.addEffect(z, "minecraft:speed", 999999, 10);
  3. entity.addEffect(z, "minecraft:regeneration", 999999, 3);
  4. entity.addEffect(z, "minecraft:strength", 999999, 12);
  5. entity.addEffect(z, "minecraft:fire_resistance", 999999, 1);
  6. living.setMaxHealth(z, 1000);
  7. living.heal(z, 2000);
  8. /*sgoto(3, "wusi");
  9. time = time.getMillis() + 100;
  10. msg("dev", "start");
  11. while(time.getMillis() < time) {
  12. msg("dev", time.getMillis(), " ", time);
  13. }
  14. msg("dev", "end");
  15. wait();
  16. term();
  17. @wusi
  18. msg("dev", "yes");*/