mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-10-28 02:00:04 +00:00
@@ -19,8 +19,8 @@ eval(coffee.compile(require('fs').readFileSync(path, 'utf8'), bare: true))
|
||||
[ species, forme ] = pokemon.item.mega
|
||||
pokemon.changeForme(forme)
|
||||
|
||||
pokemon.team.megaEvolve() if forme is "mega"
|
||||
pokemon.team.primalEvolve() if forme is "primal"
|
||||
pokemon.team.megaEvolve() if /mega/.test(forme)
|
||||
pokemon.team.primalEvolve() if /primal/.test(forme)
|
||||
|
||||
ability = @FormeData[species][forme]["abilities"][0]
|
||||
ability = Ability[ability.replace(/\s+/g, '')]
|
||||
|
||||
@@ -44879,7 +44879,7 @@
|
||||
"Curse": 28,
|
||||
"Destiny Bond": 39,
|
||||
"Faint Attack": 19,
|
||||
"Forest's Curse": 35,
|
||||
"Forests Curse": 35,
|
||||
"Growth": 8,
|
||||
"Horn Leech": 54,
|
||||
"Ingrain": 13,
|
||||
@@ -61963,7 +61963,7 @@
|
||||
"Curse": 28,
|
||||
"Destiny Bond": 39,
|
||||
"Faint Attack": 19,
|
||||
"Forest's Curse": 35,
|
||||
"Forests Curse": 35,
|
||||
"Growth": 8,
|
||||
"Horn Leech": 62,
|
||||
"Ingrain": 13,
|
||||
|
||||
@@ -4407,7 +4407,7 @@
|
||||
"target": "selected-pokemon",
|
||||
"type": "Normal"
|
||||
},
|
||||
"Forest's Curse": {
|
||||
"Forests Curse": {
|
||||
"accuracy": 100,
|
||||
"ailmentChance": 0,
|
||||
"ailmentId": "none",
|
||||
|
||||
@@ -141,3 +141,18 @@ extendMove 'Wildfire', ->
|
||||
if !(p.isFainted()) && weakness >= 2
|
||||
p.attach(Status.Burn)
|
||||
|
||||
extendMove "Forests Curse", ->
|
||||
@afterSuccessfulHit = (battle, user, target) ->
|
||||
if target.hasType("Grass")
|
||||
@fail(battle, user)
|
||||
return false
|
||||
battle.message "Grass type was added to #{target.name}"
|
||||
target.types.push "Grass"
|
||||
|
||||
extendMove "Trick-or-Treat", ->
|
||||
@afterSuccessfulHit = (battle, user, target) ->
|
||||
if target.hasType("Ghost")
|
||||
@fail(battle, user)
|
||||
return false
|
||||
battle.message "Ghost type was added to #{target.name}"
|
||||
target.types.push "Ghost"
|
||||
|
||||
Reference in New Issue
Block a user