fixes soul dew

This commit is contained in:
infinitefusion
2022-12-17 11:06:30 -05:00
parent ecaa38d6c2
commit 01deb262fb
11 changed files with 3 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -6,7 +6,7 @@
module Settings
# The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format.
GAME_VERSION = '5.0.0'
GAME_VERSION_NUMBER = "5.1.0"
GAME_VERSION_NUMBER = "5.1.0.1"
POKERADAR_LIGHT_ANIMATION_RED_ID = 17
POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18

View File

@@ -745,7 +745,7 @@ BattleHandlers::DamageCalcUserItem.copy(:SOFTSAND,:EARTHPLATE)
BattleHandlers::DamageCalcUserItem.add(:SOULDEW,
proc { |item,user,target,move,mults,baseDmg,type|
next if !user.isFusionOf(:LATIAS) && !user.isFusionOf?(:LATIOS)
next if !user.isFusionOf(:LATIAS) && !user.isFusionOf(:LATIOS)
if Settings::SOUL_DEW_POWERS_UP_TYPES
mults[:final_damage_multiplier] *= 1.2 if type == :PSYCHIC || type == :DRAGON
else
@@ -935,7 +935,7 @@ BattleHandlers::DamageCalcTargetItem.add(:SHUCABERRY,
BattleHandlers::DamageCalcTargetItem.add(:SOULDEW,
proc { |item,user,target,move,mults,baseDmg,type|
next if Settings::SOUL_DEW_POWERS_UP_TYPES
next if !target.isFusionOf(:LATIAS) && !target.isFusionOf?(:LATIOS)
next if !target.isFusionOf(:LATIAS) && !target.isFusionOf(:LATIOS)
if move.specialMove? && !user.battle.rules["souldewclause"]
mults[:defense_multiplier] *= 1.5
end

Binary file not shown.