Skip to content

Commit

Permalink
v34
Browse files Browse the repository at this point in the history
cantrips fix
  • Loading branch information
subtledoctor committed Nov 3, 2023
1 parent f2995e5 commit fc7297a
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 14 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,10 @@ v33 Fix NPC_EE Proficiency Dialogues
This will allow you to put more than one point into proficiencies when it is appropriate.

This will be irrelevant as of NPC_EE v6.3

v34 Fix too Many Cantrips

This will prevent innate cantrips from piling up, properly removing those that you do not intend to prepare in a given day.

This should be irrelevant as of SubtleD's Spell Tweaks v2
.6
34 changes: 34 additions & 0 deletions d5_extra_cantrips_fix/d5_extra_cantrips_fix.tp2
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
BACKUP ~d5_extra_cantrips_fix/backup~
AUTHOR ~SubtleD~


//do stuff__________________________________________________________________________
//
BEGIN ~fix extra cantrips~


OUTER_FOR (ind = 1; ind < 18; ++ind) BEGIN
ACTION_IF (FILE_EXISTS_IN_GAME ~D5CT%ind%L.SPL~) BEGIN
COPY_EXISTING ~D5CT%ind%L.SPL~ ~override~
LPF ALTER_EFFECT INT_VAR match_opcode = 206 match_timing = 9 timing = 0 duration = 126144000 END
COPY_EXISTING ~d5ct%ind%i.spl~ ~override~
LPF ALTER_EFFECT INT_VAR match_opcode = 146 match_timing = 1 timing = 4 duration = 1 STR_VAR match_resource = EVAL ~d5ctpls~ END
END
END

COPY_EXISTING ~d5ctfsh.spl~ ~override~
LPF ALTER_EFFECT INT_VAR match_opcode = 146 timing = 4 duration = 2 STR_VAR match_resource = ~d5ctpls~ END
IF_EXISTS

COPY_EXISTING ~d5ctp00.spl~ ~override~
LPF ALTER_EFFECT INT_VAR match_opcode = 321 target = 1 END
LPF DELETE_EFFECT INT_VAR match_opcode = 172 target = 1 END
LPF ADD_SPELL_EFFECT INT_VAR insert_point = 0 opcode = 146 target = 1 parameter1 = 0 parameter2 = 1 timing = 1 STR_VAR resource = ~d5ct172~ END
LPF ALTER_EFFECT INT_VAR match_opcode = 146 match_timing = 1 timing = 4 duration = 1 END
IF_EXISTS

ACTION_IF (FILE_EXISTS_IN_GAME ~d5ctp01.bam~) BEGIN
COPY_EXISTING ~d5ctp00.spl~ ~override/d5ctp01.spl~
LPF ALTER_SPELL_HEADER INT_VAR location = 4 STR_VAR icon = ~d5ctp01~ END
IF_EXISTS
END
14 changes: 0 additions & 14 deletions d5_npcee_prof_fix/d5_npcee_prof_fix.tp2

This file was deleted.

File renamed without changes.

0 comments on commit fc7297a

Please sign in to comment.