Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Screetch79
Junior Member
 
Join Date: Apr 2011
Posts: 20

Old April 5th, 2011, 01:58 PM
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>
the problems are:

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.
Screetch79 is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old April 5th, 2011, 02:08 PM
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.
ShadowChemosh is offline   #2 Reply With Quote
Screetch79
Junior Member
 
Join Date: Apr 2011
Posts: 20

Old April 5th, 2011, 02:11 PM
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
Screetch79 is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old April 5th, 2011, 02:13 PM
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.
Mathias is offline   #4 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old April 5th, 2011, 02:24 PM
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.
ShadowChemosh is offline   #5 Reply With Quote
Screetch79
Junior Member
 
Join Date: Apr 2011
Posts: 20

Old April 5th, 2011, 02:27 PM
Quote:
Originally Posted by Mathias View Post
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).
Work.
Thanks.



Quote:
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.
ok, but it's only avaiable if character have the correspondig feat.
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:
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.
"A multiclass cleric/templar who has an
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)."
Screetch79 is offline   #6 Reply With Quote
Screetch79
Junior Member
 
Join Date: Apr 2011
Posts: 20

Old April 5th, 2011, 02:30 PM
Quote:
Originally Posted by ShadowChemosh View Post
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.
Thanks
Screetch79 is offline   #7 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old April 5th, 2011, 03:52 PM
Quote:
Originally Posted by Screetch79 View Post
ok, but it's only avaiable if character have the correspondig feat.
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?
My apologies, I missed the part about the feat when reading your question. There are some timing problems that make this difficult to implement.

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:
Originally Posted by Screetch79 View Post
"A multiclass cleric/templar who has an
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)."
This is similar to the "Savage Seer" ability of the Rage Prophet class. I'd recommend studying the scripts on that ability.
Mathias is offline   #8 Reply With Quote
Screetch79
Junior Member
 
Join Date: Apr 2011
Posts: 20

Old May 8th, 2011, 08:11 AM
Quote:
Originally Posted by Mathias View Post
My apologies, I missed the part about the feat when reading your question. There are some timing problems that make this difficult to implement.

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.



This is similar to the "Savage Seer" ability of the Rage Prophet class. I'd recommend studying the scripts on that ability.

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
Screetch79 is offline   #9 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old February 1st, 2012, 04:30 AM
-- sorry wrong thread...

Last edited by frumple; February 1st, 2012 at 04:35 AM.
frumple is offline   #10 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:42 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.