View Single Post
Bloodwolf
Senior Member
 
Join Date: Dec 2013
Posts: 166

Old December 30th, 2020, 02:10 PM
So is there a script to delete items that have a specific tag?

Example, a script that would delete all items that have the spell-like ability tags.

The idea is to add this to a template. Particularly the skeletal dragon template. Currently all skeletal templates "delete" all special abilities, but they still show in the Special tab. I want to only delete the spell-like abilities and supernatural abilities.

Code:
~ Disable all special abilities apart from the ones that we bootstrap
      foreach pick in hero from BaseSpec where "!component.BaseFeat & !thingid.xDamRdB & !thingid.xImmCold & !thingid.rDarkVis"
        perform eachpick.assign[Helper.FtDisable]
        nexteach
Is the current script but only disables all special abilities except for what the template boot straps. So it doesn't really help to say disable just a type of special ability.

Last edited by Bloodwolf; December 30th, 2020 at 02:15 PM.
Bloodwolf is offline   #1098 Reply With Quote