Good morning good folks,
I've been hammering my head on this brick wall for two days. Help me please?
I'm trying to create a custom weapon of legacy. I've got bits and pieces working, but I can't get the Spell Save DC reduction functional.
So, here's one of the Eval Script entries
	
	
	
		
Now, the Skill Check penalty is working. But the penalty to the Spell Save DC is not. You can see the two different approaches I've tried in the code block. If put this in Pre-Attributes, Post-Attributes, and Pre-Levels (always at 10000), and every way I try, the Skill Check penalty works, but the Spell Save DC doesn't.
Does anyone know what I'm doing wrong? I've been up and down the forums trying to find some ideas for this (that's how I found cSplSaveDC and the two different approaches to this) but I'm out of ideas...
Thanks in advance.
				
			I've been hammering my head on this brick wall for two days. Help me please?
I'm trying to create a custom weapon of legacy. I've got bits and pieces working, but I can't get the Spell Save DC reduction functional.
So, here's one of the Eval Script entries
		Code:
	
	~ -1 Skill Check Penalty at 10th level
  if (hero.tagcount[Hero.HitDice] >= 10) then
   foreach pick in hero from BaseSkill
    eachpick.field[Penalty].value -= 1
   nexteach
  endif
~ -1 Spell save DC at 6th level
~  if (hero.tagcount[Hero.HitDice] >= 6) then
~   foreach pick in hero from Spellcast
~    eachpick.field[cSplSaveDC].value -= 1
~   nexteach
~  endif
~ -1 Spell save DC at 6th level
  if (hero.tagcount[Hero.HitDice] >= 6) then
    hero.child[cHelpWiz].field[cSplSaveDC].value -= 1
  endifNow, the Skill Check penalty is working. But the penalty to the Spell Save DC is not. You can see the two different approaches I've tried in the code block. If put this in Pre-Attributes, Post-Attributes, and Pre-Levels (always at 10000), and every way I try, the Skill Check penalty works, but the Spell Save DC doesn't.
Does anyone know what I'm doing wrong? I've been up and down the forums trying to find some ideas for this (that's how I found cSplSaveDC and the two different approaches to this) but I'm out of ideas...
Thanks in advance.
 
	 
			

 Part of the problem is that the additional damage is tied to both the level of the PC and whether or not the ritual for the weapon has been achieved.
 Part of the problem is that the additional damage is tied to both the level of the PC and whether or not the ritual for the weapon has been achieved.