Junior Member
Join Date: Apr 2011
Posts: 20
|
Hi.
First of all I apologize for my poor english, but is not my native language. Sorry. Then: i'm trying to code the Templar from "The Genius Guide" and i've found a problem: one of her custom ability is the Scourge of The Unfaithful, kind of Favored Enemy. It adds a MORALE bonus to attack, damage and some skill. i've worked the code for the Custom and the Class Special: Code:
<eval phase="UserPostLv" priority="10000"><![CDATA[~only run the rest for the first copy doneif (tagis[Helper.FirstCopy] = 0) ~ If we're not shown, just get out now doneif (tagis[Helper.ShowSpec] = 0) ~ Generate our new name field[abValue].value = field[xCount].value*2 field[livename].text = field[thingname].text & " (+" & field[abValue].value & ")" if (field[abilActive].value <> 0) then #applybonus[BonMorale, hero.child[Attack], field[abValue].value] hero.child[Damage].field[tDamBonus].value += field[abValue].value #applybonus[BonMorale, hero.child[skBluff], field[abValue].value] #applybonus[BonMorale, hero.child[skIntim], field[abValue].value] #applybonus[BonMorale, hero.child[skPercep], field[abValue].value] #applybonus[BonMorale, hero.child[skSenseMot], field[abValue].value] endif]]></eval> 1. The Attack value don't change, but the skills change. 2. The Damage pick have the General Modifier? One of the Optional Feats (Master of Order) let you choose one of your Orders (Class custom, reflecting the Clerical Domain) and give you the 1st level special power of the C. Domain of the same name. How can I represent this? and how i can represent the fact that templar level and clerical level are the same for multiclass purpose? Thanks to all for any kind of answer. Grazie. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
I am pretty sure your timing is way late. Try Pre-Levels 10,000.
Also just something I have found is that using the (Users) phases always seem to cause me issues so I never use those. Also the best place to find script examples I have found is in the "Adjustment" tab. Between the spells and the adjustments you can find some 75% of the scripts already done for you with the correct timing. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Junior Member
Join Date: Apr 2011
Posts: 20
|
Changed to pre-level, saved, tested and tried to work it on the character: at this point even the skill doesn't get the bonus
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
User-Post-Levels/10000 is too late for the attack modifer - attack's changable window is smaller than it ought to be. By then, the modifiers have already been propagated to all the other attack fields, and to the weapons, so HL is done with that field, and doesn't look back to see if it's changed later. Apply that part before Post-Levels/10000 (and since this is a class special, apply it after Post-Levels/1000) (it looks like you can simply move the whole script to Post-Levels/5000 and everything will be fine).
No, I'm sorry to say that specific modifiers for damage are not available yet. (The problem is when the attack and damage picks get combined on a weapon - currently, all the specific fields on the attack are copied into the matching field on the weapon, but those fields haven't been duplicated and renamed to provide a separate set of damage fields). All of the powers that a cleric domain adds are class specials. So, when you create the custom abilities to represent the orders a templar can choose from, you can tell that custom ability that it offers the same class special that's already been created for the corresponding cleric domain. You'll need to be more specific about what multiclass purposes the cleric level might be used for before I can tell you how to modify those to allow templar, too. |
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Oppss didn't notice you where using xCount which is only available in Post-Level or later.
So go with Post-Levels 5000. Just tested using your script and it works for skills, attacks, and damage. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#5 |
Junior Member
Join Date: Apr 2011
Posts: 20
|
Quote:
Thanks. Quote:
Ex: Order of Air as Custom at lvl 1. I choose the Feat: Master of Order (Air) Then, the Air Domain 1st level ability (Lightning Arc) become avaiable. How can i code the pre-req without rewrote the Whole Lightning Arc? Quote:
exact match between a domain and a temple calling combines his levels in the classes when determining what powers he receives from both the calling and the domain (though not when determining spells available from the domain)." |
|||
#6 |
Junior Member
Join Date: Apr 2011
Posts: 20
|
|
#7 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Quote:
The best solution I can come up with right now is to duplicate each of the orders - one copy is as presented for the class, the second adds the class ability, and adds a requirement that the character has selected that feat. So, if the character has the feat, they'll select the copy that also grants the class special, and they'll select the other copy if they don't have the feat. Quote:
|
||
#8 |
Junior Member
Join Date: Apr 2011
Posts: 20
|
Quote:
The eval script #2 worked perfectly: this script is under the Temple Order: Air (custom special), equivalent of the Air Domain. phase: first, pri: 497 Code:
~prova per la trasparenza ordini/domini ~if we have an animal companion granted by the Bonded Mount ability, add our level to it ~se non siamo attivi, fuori doneif (tagis[Helper.ShowSpec] = 0) if (hero.childlives[cdAir] <> 0) then hero.childfound[cdAir].field[xExtraLev].value += #levelcount[Templar] field[xExtraLev].value += #levelcount[Cleric] endif |
|
#9 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
-- sorry wrong thread...
Last edited by frumple; February 1st, 2012 at 04:35 AM. |
#10 |
|
|