Post new topic    
Liquid Metal Slime
Send private message
Plotscripting: raising stats 
 PostWed May 18, 2011 2:06 am
Send private message Reply with quote
How do I write a plotscript that adds a permanent +1 to a hero's stat?

I know about the Get Hero Stat and Set Hero Stat commands but I don't know how to Set Hero Stat to its current value +1.

This has to be done with plotscript (instead of using an attack) due to some specific reasons that are too hard to explain.

Any advice?
Red Slime
Send private message
 
 PostWed May 18, 2011 3:22 am
Send private message Reply with quote
Set Hero Stat to "Get Hero Stat (whatever) +1"... Just make sure the "maximum stat" is triggered instead of "current stat".

An example script can be found here. It assumes that an item is calling the script, though a menu, NPC, or text box could also utilize it.

... I bet you figure this out before you read this.
Slime Knight
Send private message
 
 PostWed May 18, 2011 7:48 am
Send private message Reply with quote
If that doesn't help you, try this page.
Liquid Metal Slime
Send private message
 
 PostThu May 19, 2011 2:34 am
Send private message Reply with quote
Worked like a charm. Thanks to both of you.
Display posts from previous: