SageFox

Showdown abilities.js for Sage

Jul 29th, 2014
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  
  3. Ratings and how they work:
  4.  
  5. -2: Extremely detrimental
  6.       The sort of ability that relegates Pokemon with Uber-level BSTs
  7.       into NU.
  8.     ex. Slow Start, Truant
  9.  
  10. -1: Detrimental
  11.       An ability that does more harm than good.
  12.     ex. Defeatist, Normalize
  13.  
  14.  0: Useless
  15.       An ability with no net effect on a Pokemon during a battle.
  16.     ex. Pickup, Illuminate
  17.  
  18.  1: Ineffective
  19.       An ability that has a minimal effect. Should never be chosen over
  20.       any other ability.
  21.     ex. Damp, Shell Armor
  22.  
  23.  2: Situationally useful
  24.       An ability that can be useful in certain situations.
  25.     ex. Blaze, Insomnia
  26.  
  27.  3: Useful
  28.       An ability that is generally useful.
  29.     ex. Volt Absorb, Iron Fist
  30.  
  31.  4: Very useful
  32.       One of the most popular abilities. The difference between 3 and 4
  33.       can be ambiguous.
  34.     ex. Technician, Protean
  35.  
  36.  5: Essential
  37.       The sort of ability that defines metagames.
  38.     ex. Drizzle, Shadow Tag
  39.  
  40. */
  41.  
  42. exports.BattleAbilities = {
  43.     "iceslick": {
  44.         desc: "Raises bearer's Speed in a hailstorm.",
  45.         shortDesc: "Raises bearer's Speed in a hailstorm.",
  46.         onModifySpe: function (speMod, pokemon) {
  47.             if (this.isWeather('hail')) {
  48.                 return this.chain(speMod, 2);
  49.             }
  50.         },
  51.         id: "iceslick",
  52.         name: "Ice Slick",
  53.         rating: 2,
  54.         num: ???
  55.     },
  56.  
  57.     "permafrost": {
  58.         desc: "Raises bearer's Defense in hailstorm.",
  59.         shortDesc: "Raises bearer's Defense in hailstorm.",
  60.                 onModifyDefPriority: 6,
  61.         onModifyDef: function (def, pokemon) {
  62.             if (this.isWeather('hail')) {
  63.                 return this.chainModify(1.5);
  64.             }
  65.         },
  66.         id: "permafrost",
  67.         name: "Permafrost",
  68.         rating: 2,
  69.         num: ???
  70.     }
  71.  
  72.     "braveheart": {
  73.         desc: "Increases bearer's Defense when under a status ailment.",
  74.         shortDesc: "Increases bearer's Defense when under a status ailment.",
  75.         onModifyDefPriority: 6,
  76.         onModifyDef: function (def, pokemon) {
  77.             if (pokemon.status) {
  78.                 return this.chainModify(1.5);
  79.             }
  80.         },
  81.         id: "braveheart",
  82.         name: "Brave Heart",
  83.         rating: 3,
  84.         num: ???
  85.     },
  86. };
Advertisement
Add Comment
Please, Sign In to add comment