Search found 3 matches

by Shinzaku
Wed Feb 08, 2017 9:43 pm
Forum: Scripting
Topic: Status Effect Power
Replies: 5
Views: 4315

Re: Status Effect Power

Ah that makes sense. I'm particularly curious about looking at modifying Dia values to make the def down a little stronger. Looks like the subpower parameter is setting a flag, whereas the tier is the power of the def down. target:addStatusEffect(EFFECT_DIA,3+dotBonus,3,duration,FLAG_ERASABLE, 15); ...
by Shinzaku
Wed Feb 08, 2017 7:20 pm
Forum: Scripting
Topic: Status Effect Power
Replies: 5
Views: 4315

Re: Status Effect Power

I'm a little bad with code. It looks like in the core when it calls setPower to set that value, it's gathering it from a LUA value. However I cannot find any tables of data in the LUA relating to status effect power. Under the database, there seems to be no columns indicating power or subpower. @_@;...
by Shinzaku
Wed Feb 08, 2017 9:47 am
Forum: Scripting
Topic: Status Effect Power
Replies: 5
Views: 4315

Status Effect Power

Hey all,

I've been noticing in a lot of the scripts for status effects, there are functions for getPower and getSubpower. I am confused as to where exactly it is pulling these values from in order to modify them.

Could anyone provide a hint? Thanks!