• 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

Looking to add some adjustments

Hey, got a couple more adjustments I notice are missing. Antimagic zone which I have no idea how to go about. Righteous Wrath of the Faithfull (Comp Diviine) spell effect is not available.
 
Hey, got a couple more adjustments I notice are missing. Antimagic zone which I have no idea how to go about. Righteous Wrath of the Faithfull (Comp Diviine) spell effect is not available.

I'll put Righteous Wrath of the Faithful on my to-do list and I'll look into the feasibility of Antimagic Zone.
 
Righteous Wrath shouldn't be too hard, i think.

Code:
Allies gain one additional melee attack each round, at their highest attack bonus, when making a full attack. (This additional attack is not cumulative with other effects that grant extra attacks, such as a [I]haste [/I]spell.) They also gain a +3 morale bonus on melee attack rolls and damage rolls. (This bonus on melee attack rolls does stack with the bonus provided by [I]haste[/I].)

But the antimagic zone looked overwhelming to even think about doing.
 
I made another adjustment this is for the spell: Rage effect but I can't get the armor penalty working. Any suggestions?

Code:
<<Post-Levels (Users) 10000>>
   ~ If we're not enabled, get out now
      if (field[pIsOn].value = 0) then
        done
        endif

        
      ~ Add a +1 Morale Bonus to will saves
      #applybonus[BonMorale, hero.child[vWill], 1]

        ~ Add a +2 Morale bonus to our Strength
	#applybonus[BonMorale, hero.child[aSTR], 2]
	
	    ~ Add a +2 Morale bonus to our Constitution
	#applybonus[BonMorale, hero.child[aCON], 2]
	
		~ Add a -2 Armor bonus to our armor class
	#applybonus[tACArmor,hero.child[ArmorClass],-2]
 
Last edited:
I made another adjustment this is for the spell: Rage effect but I can't get the armor penalty working. Any suggestions?

Code:
<<Post-Levels (Users) 10000>>
   ~ If we're not enabled, get out now
      if (field[pIsOn].value = 0) then
        done
        endif

        
      ~ Add a +1 Morale Bonus to will saves
      #applybonus[BonMorale, hero.child[vWill], 1]

        ~ Add a +2 Morale bonus to our Strength
	#applybonus[BonMorale, hero.child[aSTR], 2]
	
	    ~ Add a +2 Morale bonus to our Constitution
	#applybonus[BonMorale, hero.child[aCON], 2]
	
		~ Add a -2 Armor bonus to our armor class
	#applybonus[tACArmor,hero.child[ArmorClass],-2]

Timing. Your applying the bonus to tACArmor which will get over-written by the system later than this script. You can either change the timing or change which field you are manipulating. I would try changing the field first. ArmorClass contains all the bonus types, so pick one of those.

Also, you should generally avoid the phases with "(Users)" in the name. If there's ever another update to the core system, it could come with the removal of these phases.
 
Thanks for the help again. I switched the code to
Code:
hero.child[ArmorClass].field[Penalty].value -= 2
and I changed the timing on all my adjustments to prelevel without (users)
 
Back
Top