mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2026-10-31 14:01:40 +00:00
Added Find Battle Unranked
This commit is contained in:
1 parent
398d23a0d6
commit
16ac69171d
23 files changed
+778
-419
No files matched your search
@@ -269,7 +269,6 @@ class @Move
|
||||
weatherModifier: (battle, user, target) ->
|
||||
# TODO: This is wrong.
|
||||
type = @getType(battle, user, target)
|
||||
console.log(type)
|
||||
if type == 'Fire' && battle.hasWeather(Weather.SUN)
|
||||
0x1800
|
||||
else if type == 'Fire' && battle.hasWeather(Weather.RAIN)
|
||||
@@ -280,8 +279,6 @@ class @Move
|
||||
0x800
|
||||
else if type == 'Dark' && battle.hasWeather(Weather.MOON)
|
||||
0x159A
|
||||
else if type == 'Ghost' && battle.hasWeather(Weather.MOON)
|
||||
0x159A
|
||||
else if type == 'Fairy' && battle.hasWeather(Weather.MOON)
|
||||
0xC00
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user