Advertisement
pierrotdu18

Untitled

Aug 19th, 2014
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. include("CacheCacheFullAgi");
  2. global previousLife = null;
  3. if (previousLife <= getLife() && canUseChip(CHIP_SPARK, getNearestEnemy()))
  4. {
  5.     useChip(CHIP_STEROID, getLeek());
  6.     useChip(CHIP_SPARK, getNearestEnemy());
  7.     useChip(CHIP_SPARK, getNearestEnemy());
  8. }
  9. useChip(CHIP_WARM_UP, getLeek());
  10. if (getLife()<getTotalLife()/2)
  11.     useChip(CHIP_VACCINE, getLeek());
  12. if (getLife() != getTotalLife())
  13.     useChip(CHIP_BANDAGE, getLeek());
  14. useChip(CHIP_WALL,getLeek());
  15. useChip(CHIP_ARMOR,getLeek());
  16. useChip(CHIP_HELMET,getLeek());
  17. if (getLife() != getTotalLife())
  18.     useChip(CHIP_VACCINE, getLeek());
  19.  
  20. //Why not?
  21.  
  22. if (getLife() != getTotalLife())
  23.     useChip(CHIP_CURE, getLeek());
  24.  
  25. if (getTP()) say("Tu veux jouer à cache cache avec moi? (lama)");
  26. fuir();
  27. debug(getInstructionsCount());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement