Arcane Spell Failure
I seem to be having trouble calling from this field (basically I can't find the proer reference info). Anyone know what I need to use to pull this value into a script?
|
Can someone explain the best way to acquire the Arcane Spell Failure total?
I am currently doing attempting it within a class special via script and I am lost. I am using this: Quote:
|
Quote:
I think the value by the way is stored as a field on armor. But to use the tag: Code:
var arc as number If too early the Hero.EqpArmor tag will not be present on the armor. Code:
~ If we are not wearing anymore get out now! |
Perfect! That did it and I decided to follow your latter example.
|
Take another look at the fields on armor - that tag only stores the original arcane failure chance, not the current value. For example, test your script with the Arcane Armor Training feat present and turned on - the tag doesn't change, because that only stores the base value for that type of armor, but there's a failure chance field that does change when that feat is turned on.
|
Thanks for the advice on this problem Mathias! You definitely nailed that on the head and glad you did otherwise that would be trouble later on. The script I am running creates a percentage of failure rate based on all arcane spell failure percents and reductions from certain skills and now that you brought that up those feats will help out in this endeavor. It is needed to because it isn't easy to get the numbers low enough that the players can feel at ease.
|
This post is for anyone else who comes later to review this thread:
Quote:
|
All times are GMT -8. The time now is 05:19 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.