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
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old September 16th, 2013, 08:22 PM
Working on a class ability that upgrades a racial spell-like ability to At-Will from 1/day I've set this up:

Code:
~ If our Charisma is < 11, we're disabled
      if (#attrvalue[aCHA] < 11) then
        perform assign[Helper.SpcDisable]
      else  
        perform hero.findchild[BaseSpell,"Helper.SpellLike & Target.spDeteMag0 & Custom.FaenSpell"].tagreplace[Usage.?,Usage.AtWill]
        endif
But it's not changing to at-will when the level is added. Anyone have any ideas?
AndrewD2 is offline   #1 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old September 17th, 2013, 03:47 AM
Are you trying to make the change on the fly, or between games? I don't think you can make a change like that on the fly without reloading the game system.

If you are making so, like between level 3 and 4, they get this ability upgrade, maybe you could just create 2 abilities that are nearly the same but one is 1/day and te other is at will.

Web site - Cheese Weasel Logistics - www.cheeseweasel.net
Twitter - @CheeseWeaselGMZ
For user created content check out www.d20pfsrd.com and www.cheeseweasel.net
For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5
chiefweasel is offline   #2 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old September 17th, 2013, 09:06 AM
I should also mention this is running at Post-Attributes/10000
AndrewD2 is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,215

Old September 17th, 2013, 09:19 AM
Why does this need a script to assign Usage.AtWill? If it's not at that point, it's disabled, so why not leave the AtWill tag there all the time?
Mathias is online now   #4 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old September 17th, 2013, 10:10 AM
Huh, for some reason it was giving me two copies of Detect Magic (sp) 1 was 1/day the other didn't have usage show up. I re-copied and pasted my code and it works now. I'm confused, but it's fine because it's working.
AndrewD2 is offline   #5 Reply With Quote
chiefweasel
Senior Member
 
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322

Old September 17th, 2013, 10:26 AM
Woot then, lol.

Web site - Cheese Weasel Logistics - www.cheeseweasel.net
Twitter - @CheeseWeaselGMZ
For user created content check out www.d20pfsrd.com and www.cheeseweasel.net
For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5
chiefweasel is offline   #6 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old September 17th, 2013, 11:22 AM
Sadly more problems have crept up.

So I made a duplicate of detect magic, changed all the references from detect magic to charm person.

Eval script: Post-Attributes/10000
Code:
~ If our Charisma is < 11, we're disabled
      if (#attrvalue[aCHA] < 11) then
        perform assign[Helper.SpcDisable]

       perform hero.findchild[BaseSpell,"Helper.SpellLike & Target.spCharPer1 & Custom.FaenSpell"].assign[Hide.Spell]
        endif
But it's not showing up (yes I checked that Cha was set >11)

I'm really confused why it would work for one SLA and not another.
AndrewD2 is offline   #7 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old September 17th, 2013, 11:36 AM
I feel dumb ... so I had something bootstrapped the wrong way and that's why I was seeing Detect Magic when I actually shouldn't have (it got bootstrapped directly to the class instead of on to the custom ability)
AndrewD2 is offline   #8 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 01: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.