forked from akanyan/mu3-mods
add offgeki
This commit is contained in:
16
Extras/Offgeki/MU3.Battle/patch_EnemyManager.cs
Normal file
16
Extras/Offgeki/MU3.Battle/patch_EnemyManager.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using MU3.Util;
|
||||
|
||||
namespace MU3.Battle;
|
||||
|
||||
class patch_EnemyManager : EnemyManager
|
||||
{
|
||||
extern void orig_playEnemyDamageUI(DamageParam dp);
|
||||
public new void playEnemyDamageUI(DamageParam dp)
|
||||
{
|
||||
Mod.State state = Singleton<Mod.State>.instance;
|
||||
if (!state.RemoveEnemy && !state.RemoveBullets)
|
||||
{
|
||||
orig_playEnemyDamageUI(dp);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user