Skip to content
Permalink
Browse files

fix target for bard spins, add aura cleansing after canceling them - #31

  • Loading branch information
burner1024 committed Feb 15, 2020
1 parent 95e01b9 commit 679ecaca9aede530575697c781e3062b496eed3d
Showing with 14 additions and 0 deletions.
  1. +14 −0 tnt/components/sensible_spins/main.tpa
@@ -23,13 +23,24 @@ COPY_EXISTING ~%spl_despin%.spl~ override
parameter1 = 1 //max level
paremeter2 = sectype_id
timing = TIMING_permanent
target = TARGET_FEATURE_self
END
LPF ADD_SPELL_EFFECT //remove self
INT_VAR
opcode = OPCODE_remove_spell
timing = TIMING_permanent
target = TARGET_FEATURE_self
STR_VAR resource = ~%spl_despin%~
END
LPF ADD_SPELL_EFFECT // allow to cast another spell right away
INT_VAR
opcode = OPCODE_aura_cleansing
paremeter2 = 1
timing = TIMING_duration
duration = 6 // 1 round
target = TARGET_FEATURE_self
END

WRITE_ASCIIT SPL_icon ~%icon%~
BUT_ONLY

@@ -43,18 +54,21 @@ ACTION_FOR_EACH spl IN ~%BLADE_OFFENSIVE_SPIN%~ ~%BLADE_DEFENSIVE_SPIN%~ BEGIN /
paremeter2 = sectype_id
timing = TIMING_permanent
insert_point = 0
target = TARGET_FEATURE_self
END
LPF ADD_SPELL_EFFECT //add "cancel spin" ability
INT_VAR
opcode = OPCODE_give_ability
timing = TIMING_permanent
target = TARGET_FEATURE_self
STR_VAR resource = ~%spl_despin%~
END
LPF ADD_SPELL_EFFECT //remove "cancel spin" ability
INT_VAR
opcode = OPCODE_remove_spell
timing = TIMING_delayed
duration = 24
target = TARGET_FEATURE_self
STR_VAR resource = ~%spl_despin%~
END
BUT_ONLY

0 comments on commit 679ecac

Please sign in to comment.
You can’t perform that action at this time.