• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Mass removal of spells

AndrewD2

Well-known member
So I've got an archetype that gets no 0 level spells. Now I've already given it -999 in each 0 level slot and I even used linkage[varies] to change the lowest level spell to 1. What I would like to do is remove the spells from the list and I figured I could using the ClsDenySp tag group. I set up this script running at Post-Levels/9000 and it seems to get rid of some spells, but it appears it's only spells out of the Core Rulebook. Any suggestions in pulling this off or should I just call it good and leave them in?

Thanks,
Andrew


Code:
foreach pick in hero where "sLevel.0"
  var denyspell as string
  denyspell = "ClsDenySp." & eachpick.idstring

  perform linkage[varies].assignstr[denyspell]
  debug denyspell
nexteach
 
Back
Top