crunch
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

54 satır
1.3 KiB

  1. public KuroLuxray() {
  2. Creature.call(this, "Kuro", 20, 40, 20);
  3. this.hasName = true;
  4. this.description = function() { return "Kuro"; };
  5. this.attacks.push(kuroPounce(this));
  6. this.attacks.push(kuroSit(this));
  7. this.attacks.push(kuroBat(this));
  8. this.attacks.push(kuroLick(this));
  9. this.attacks.push(kuroKnead(this));
  10. this.attacks.push(kuroSlideSit(this));
  11. this.attacks.push(kuroOralVore(this));
  12. this.attacks.push(kuroSmother(this));
  13. this.attacks.push(kuroAnalVore(this));
  14. this.attacks.push(kuroSwallow(this));
  15. this.attacks.push(kuroAnalPull(this));
  16. this.attacks.push(kuroAnalSqueeze(this));
  17. this.attacks.push(kuroAnalRest(this));
  18. this.attacks.push(kuroDigest(this));
  19. this.flags.state = "chase";
  20. this.flags.distance = 6;
  21. this.playerAttacks = [];
  22. this.playerAttacks.push(pass);
  23. this.prefs.prey = false;
  24. }
  25. function kuroBat(attacker) {
  26. return {
  27. attackPlayer: function(defender) {
  28. let line = ["The Luxray leaps towards you and smacks you with his heavy paw.",newline];
  29. let choice = Math.random();
  30. if (choice < 0.4) {
  31. player.changeStamina(-25);
  32. line.push("You're knocked sideways, tossed into the wall! The impact dazes you for a moment.")
  33. } else if (choice < 0.75) {
  34. player.changeStamina(-15);
  35. }
  36. }
  37. }
  38. }