Skip to content

Commit

Permalink
instakill on attacking dukes is apparently bgt-only, fixes #51
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Mar 7, 2022
1 parent 53189b3 commit b731c7e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 0 additions & 1 deletion tnt/components/fair_fights/non_innocents.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ BUT_ONLY IF_EXISTS
COPY_EXISTING ~phanda.cre~ ~override~
WRITE_BYTE CRE_class IDS_OF_SYMBOL (~class~ ~paladin~)
BUT_ONLY IF_EXISTS

18 changes: 10 additions & 8 deletions tnt/components/fair_fights/winski.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ BEGIN
END
END

//instakill on attacking one of the dukes
// BGT: instakill on attacking one of the dukes
<<<<<<<< .../tnt-inlined/fair_fights/dukes.baf
IF
AttackedBy([PC],DEFAULT)
Expand All @@ -48,11 +48,13 @@ THEN
SetInterrupt(TRUE)
END
>>>>>>>>
ACTION_FOR_EACH script IN ~belt~ ~liia~
BEGIN
COPY_EXISTING ~%script%.bcs~ ~override~
R_B_B CASE_INSENSITIVE
~.../tnt-inlined/fair_fights/dukes.baf~
~.../tnt-inlined/fair_fights/empty.baf~
BUT_ONLY
ACTION_IF GAME_IS ~bgt~ BEGIN
ACTION_FOR_EACH script IN ~belt~ ~liia~
BEGIN
COPY_EXISTING ~%script%.bcs~ ~override~
R_B_B CASE_INSENSITIVE
~.../tnt-inlined/fair_fights/dukes.baf~
~.../tnt-inlined/fair_fights/empty.baf~
BUT_ONLY
END
END

0 comments on commit b731c7e

Please sign in to comment.