Fixed Synchronize ability from interacting with sleep status infliction

This commit is contained in:
CaptainSegis 2016-11-23 10:14:49 -05:00
parent a88f62b323
commit 9d84c01461
1 changed files with 0 additions and 4 deletions

View File

@ -2645,10 +2645,6 @@
BattleScreen.BattleQuery.Add(New TextQueryObject(message))
BattleScreen.BattleQuery.Add(New TextQueryObject(p.GetDisplayName() & " fell asleep!"))
End Select
If p.Ability.Name.ToLower() = "synchronize" And from <> own Then
Me.InflictSleep(Not own, Not own, BattleScreen, SleepTurns, "Synchronize passed over the sleep.", "synchronize")
End If
If Not p.Item Is Nothing Then
If p.Item.Name.ToLower() = "chesto" And BattleScreen.FieldEffects.CanUseItem(own) = True And BattleScreen.FieldEffects.CanUseOwnItem(own, BattleScreen) = True Then
If RemoveHeldItem(own, own, BattleScreen, "", "berry:chesto") = True Then