Senior Member
Volunteer Data File Contributor
Join Date: Jan 2007
Posts: 591
|
Super power skills already do that.
|
#11 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
OK, the imminent update will include the ability to charge two slots for edges and have a race (or other mechanism) cause an attribute to cost two slots.
|
#12 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
To have a racial ability cause an attribute to cost two slots, you'll need to write a one-line script, and the script must occur *before* the Effects phase. For example, let's assume we have a "Scrawny" racial ability that causes Strength to cost two slots. The resulting racial ability definition might look like the following:
Code:
<thing id="abScrawny" name="Scrawny" compset="RaceAbil" isunique="yes" description="blah blah blah"> <eval index="1" phase="Setup" priority="5000"><![CDATA[ hero.child[attrStr].field[trtCost].value = 2 ]]></eval> </thing> |
#13 |
Senior Member
Join Date: Jun 2010
Location: Florida
Posts: 242
|
Okay, since I am working on Ragnarok rules, I finally realized I needed to address this very problem. Arcane Backgrounds cost two slots. So I read through this thread and I see Rob mentions a fix for this. So the question is, how do we accomplish this? I looked around the editor, there isn't a nice field to put in Slot Cost for an edge.
I tried an Eval Script: perform #resspent[resEdge,+,field[edgCost].value += 2 That gave me errors. So, how do we double the slot cost for an Edge? |
#14 |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,556
|
Try this: (It would charge an extra point)
Code:
perform #resspent[resEdge,+,1,"Name of Edge"] Code:
field[edgCost].value += 1 |
#15 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
Both of the suggestions by CapedCrusader will work nicely. However, the key limitation of both those suggestions is that the edge needs to be fixed up via a script, which means you need to worry about timing. You can also change the basic cost directly on the *thing* definition via the Editor.
To do this, bring up your edge in the Editor. At the top right, click on the Fields button. Click the button to add a new field to the list. Enter the field id of "edgCost" and a value of "2", then click the OK button at the bottom. Now save your edge and test it. This should give it a cost of 2 slots. Hope this helps.... |
#16 |
Senior Member
Join Date: Jun 2010
Location: Florida
Posts: 242
|
Thanks Rob, that did it.
And thanks to CapedCrusader as well. That would also work. I am seeing the end to my Ragnarok file finally |
#17 |
|
|