204 files changed
+20255
-242
No files matched your search
@@ -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