This commit is contained in:
@@ -13,6 +13,13 @@ public class MagicRoom : Script, IScriptOnSecondaryEffect
|
||||
return;
|
||||
|
||||
var battle = battleData.Battle;
|
||||
battle.Volatile.Add(new MagicRoomEffect());
|
||||
if (battle.Volatile.Contains<MagicRoomEffect>())
|
||||
{
|
||||
battle.Volatile.Remove<MagicRoomEffect>();
|
||||
}
|
||||
else
|
||||
{
|
||||
battle.Volatile.Add(new MagicRoomEffect());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user