Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Ok. Done with the first one, it was a pain, but hopefully you can use it as an example for the rest.
|
#11 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Sent via e-mail
|
#12 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Thanks, I'll peruse if I get time over the next week (It's looking doubtful though)
Last edited by bodrin; December 21st, 2010 at 11:11 AM. Reason: Missing “S” on thanks |
#13 |
Member
Join Date: Nov 2010
Posts: 70
|
what I did when messing with the millenial chainmail was a bit of a hacked script that targets the deity custom text field.
its not very elegant, and ceritanly relies on the user not making a mistake in the deity field, but does work for now. below is the eval script I used, which is at least capitalization-agnostic. the armor gives fast healing 3 if the user meets the deity requirements, as shown below. Code:
var result as number var testspell as number testspell = compare(hero.child[background].field[bDeity].text, "Corellon Laerthian") if (testspell = 0) then result = testspell elseif(testspell = 1) then result = compare(hero.child[background].field[bDeity].text, "corellon laerthian") endif if (result = 0) then hero.child[xFastHeal].field[Value].value = 3 endif |
#14 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Didn't you go back and fix the spelling? It is "Larethian", remember?
|
#15 |
Member
Join Date: Nov 2010
Posts: 70
|
Quote:
for now the 1.2 version of the class doesn't include the deity check code so there shouldn't be any problems there. |
|
#16 |
|
|