Fixed defense stat interactions (473, 548)

Now Psyshock and Secret Sword interact with Def stat increases and abilities that do similar effects
This commit is contained in:
Capt_Segis 2016-09-17 22:53:01 -05:00 committed by GitHub
parent 72e7f76753
commit f30b0c3cfd
1 changed files with 1 additions and 1 deletions

View File

@ -1346,7 +1346,7 @@
Dim SX As Single = 1.0F
Dim DMod As Single = 1.0F
If Attack.Category = Attack.Categories.Physical Then
If Attack.Category = Attack.Categories.Physical OrElse Attack.ID = 473 OrElse Attack.ID = 548 Then 'Psyshock and Secret Sword.
DStat = Attack.GetUseDefenseStat(Op)
DSM = GetMultiplierFromStat(Op.StatDefense)