I've got a template that gives channel negative energy. In fact it's figured just like the Nightshade subtype. The nightshade uses two scripts on a racial ability to generate this.
	
	
	
		
AND
	
	
	
		
I copied this and I'm sure my problem is the SpecSource but I'm not sure what to put there. The Nightshade uses the subtype so I used the template and I've used the racial ability id there, but neither is working.
Is there something I'm missing?
Thanks,
Andrew
				
			
		Code:
	
	Post-Levels 1000
      var tagexpr as string
      tagexpr = "SpecSource.stNightsha"
      call ChanEnFind
      doneif (state.isfocus = 0)
      ~ Add our CR to our turning level.
      focus.field[abValue].value += hero.findchild[BaseRace].field[rCR].value
	AND
		Code:
	
	Post-Attributes/10000
      var tagexpr as string
      tagexpr = "SpecSource.stNightsha"
      call ChanEnFind
      doneif (state.isfocus = 0)
      ~we can turn undead 3 + CHA mod / day
      focus.field[trkMax].value += 3 + #attrmod[aCHA]
	I copied this and I'm sure my problem is the SpecSource but I'm not sure what to put there. The Nightshade uses the subtype so I used the template and I've used the racial ability id there, but neither is working.
Is there something I'm missing?
Thanks,
Andrew