Skip to content

Commit

Permalink
2.5.3
Browse files Browse the repository at this point in the history
FnP focus sphere compatibility
  • Loading branch information
subtledoctor committed Jan 29, 2024
1 parent 56eff2d commit 822c559
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 5E_spellcasting/5E_spellcasting.tp2
@@ -1,7 +1,7 @@
BACKUP ~weidu_external/backup/5E_spellcasting~
AUTHOR ~SubtleD~

VERSION ~2.5.2~
VERSION ~2.5.3~

ALWAYS

Expand Down
10 changes: 10 additions & 0 deletions 5E_spellcasting/comp/5E_casting.tpa
Expand Up @@ -890,6 +890,10 @@ COPY_EXISTING ~kitlist.2da~ ~override~
BUT_ONLY
END
END
COPY_EXISTING ~D5SF%sphere%#.EFF~ ~override~
WRITE_EVALUATED_ASCII 0x30 ~D5ZF%sphere%~ #8
IF_EXISTS BUT_ONLY
/* eh, just change the .EFFs to do free cast instead of focus access
ACTION_IF (class_num = 8) OR (class_num = 14) OR (class_num = 15) OR (class_num = 17) OR (class_num = 18) BEGIN
ACTION_IF (FILE_EXISTS_IN_GAME ~QD_MCP01.SPL~) BEGIN
ACTION_IF !(FILE_EXISTS_IN_GAME ~QD_MC_AP.eff~) BEGIN
Expand Down Expand Up @@ -920,6 +924,7 @@ COPY_EXISTING ~kitlist.2da~ ~override~
// COPY_EXISTING ~QD_MCP01.SPL~ ~override~
// LPF ADD_SPELL_EFFECT INT_VAR insert_point = 0 opcode = 177 target = 1 timing = 9 resist_dispel = 0 power = 0 parameter1 = %kit_ids% parameter2 = 9 STR_VAR resource = EVAL ~d5zf%sphere%#~ END
END
*/
END
END
END
Expand Down Expand Up @@ -1144,6 +1149,10 @@ COPY_EXISTING ~kitlist.2da~ ~override~
BUT_ONLY
END
END
COPY_EXISTING ~D5SF%sphere%#.EFF~ ~override~
WRITE_EVALUATED_ASCII 0x30 ~D5ZF%sphere%~ #8
IF_EXISTS BUT_ONLY
/* eh, just change the .EFFs to do free cast instead of focus access
ACTION_IF (class_num = 16) BEGIN
ACTION_IF (FILE_EXISTS_IN_GAME ~QD_MCD01.SPL~) BEGIN
ACTION_IF !(FILE_EXISTS_IN_GAME ~QD_MC_AP.eff~) BEGIN
Expand Down Expand Up @@ -1174,6 +1183,7 @@ COPY_EXISTING ~kitlist.2da~ ~override~
// COPY_EXISTING ~QD_MCD01.SPL~ ~override~
// LPF ADD_SPELL_EFFECT INT_VAR insert_point = 0 opcode = 177 target = 1 timing = 9 resist_dispel = 0 power = 0 parameter1 = %kit_ids% parameter2 = 9 STR_VAR resource = EVAL ~d5zf%sphere%#~ END
END
*/
END
END
END
Expand Down

0 comments on commit 822c559

Please sign in to comment.