Skip to content

Commit

Permalink
Stop damage removing invisibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Logg-y committed Nov 24, 2024
1 parent 26bb414 commit 26ffce7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/nss/ai_ondamaged.nss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ void main()

object oDamager = GetLastDamager();

ExecuteScript("remove_invis", OBJECT_SELF);

PlayNonMeleePainSound(oDamager);

if (GetIsPC(oDamager) || GetIsPC(GetMaster(oDamager))) SetLocalInt(OBJECT_SELF, "player_tagged", 1);
Expand Down
1 change: 0 additions & 1 deletion src/nss/on_pc_damaged.nss
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ void main()
SpeakString("PARTY_I_WAS_ATTACKED", TALKVOLUME_SILENT_TALK);
}

ExecuteScript("remove_invis", OBJECT_SELF);
}

0 comments on commit 26ffce7

Please sign in to comment.