- apply clearscope to ApplyDamageFactor as well

This commit is contained in:
Rachael Alexanderson 2021-11-18 21:29:08 -05:00
parent 01b825b181
commit 4db7a20f7a

View file

@ -684,7 +684,7 @@ class Actor : Thinker native
native Actor, Actor SpawnPlayerMissile(class<Actor> type, double angle = 1e37, double x = 0, double y = 0, double z = 0, out FTranslatedLineTarget pLineTarget = null, bool nofreeaim = false, bool noautoaim = false, int aimflags = 0);
native void SpawnTeleportFog(Vector3 pos, bool beforeTele, bool setTarget);
native Actor RoughMonsterSearch(int distance, bool onlyseekable = false, bool frontonly = false, double fov = 0);
native int ApplyDamageFactor(Name damagetype, int damage);
native clearscope int ApplyDamageFactor(Name damagetype, int damage);
native int GetModifiedDamage(Name damagetype, int damage, bool passive, Actor inflictor = null, Actor source = null, int flags = 0);
native bool CheckBossDeath();
native bool CheckFov(Actor target, double fov);