Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Raduziel committed Apr 24, 2022
1 parent 6f9758d commit 3c2b74f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions DeitiesOfFaerun/Lib/NPC/Haela-Helga.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ COPY_EXISTING ~kitlist.2da~ ~override~

OUTER_SET kit = "%RAHael%"

ACTION_IF GAME_IS ~bgee~ BEGIN

ACTION_FOR_EACH creature IN ~X3Helga~ ~X32Helga~ BEGIN

ACTION_IF FILE_EXISTS_IN_GAME ~%creature%.cre~ THEN BEGIN
Expand All @@ -41,5 +43,32 @@ ACTION_FOR_EACH creature IN ~X3Helga~ ~X32Helga~ BEGIN

END

END ELSE BEGIN

ACTION_FOR_EACH creature IN ~X3Hel~ ~X3Hel25~ BEGIN

ACTION_IF FILE_EXISTS_IN_GAME ~%creature%.cre~ THEN BEGIN

COPY_EXISTING ~%creature%.cre~ ~override~
WRITE_SHORT 0x244 0
WRITE_BYTE 0x246 "%kit%"
WRITE_BYTE 0x247 0x40
REMOVE_MEMORIZED_SPELL ~X3HBOLT~
REMOVE_KNOWN_SPELL ~X3HBOLT~
REMOVE_MEMORIZED_SPELL ~X3HURLS~
REMOVE_KNOWN_SPELL ~X3HURLS~
BUT_ONLY
END

ACTION_IF FILE_EXISTS_IN_GAME ~RASPHERE.marker~ BEGIN

LAF UPDATE_NPC_SPHERE INT_VAR kitid = RAHael STR_VAR npc_file = EVAL ~%creature%~ kitname = ~RAHAEL~ kitname2 = ~~ END

END

END

END


//EoF

0 comments on commit 3c2b74f

Please sign in to comment.