Page 2 of 2

Re: Game definition jsons - Effect definition json

Posted: Wed Aug 28, 2019 6:10 am
by DoomsdayDragonfire
Ok it is here:

https://www.androidutils.com/forum/view ... 53f94d96f7

If you have any questions, you can leave there and i will answer later... (currently is +3AM, i made the post while the idea was fresh, but i need to sleep 😅)

Re: Game definition jsons - Effect definition json

Posted: Fri Aug 30, 2019 6:42 pm
by Stratego (dev)
new opions under the specs part

Code: Select all

        RESISTED_BY_DODGE_MELEE,  // probability is calculated as dodge melee is calculated
        RESISTED_BY_DODGE_RANGED, // probability is calculated as dodge ranged is calculated
        RESISTED_BY_HP,           // probability is calculated based on DEFINE_UNIT_BIG_HP_VALUE and unit hp
        RESISTED_BY_POWER,        // probability is calculated based on DEFINE_UNIT_BIG_POWER_VALUE and unit hp

Re: Game definition jsons - Effect definition json

Posted: Sun Sep 15, 2019 4:23 pm
by Endru1241
There is no list of "effectTriggers", that's set when "effectBehaviour":"TRIGGERED_EFFECT".
That would be helpful.

Applicable effects ids put in "trnSystemSpecialEffectID" could also help.

Re: Game definition jsons - Effect definition json

Posted: Sun Sep 15, 2019 5:14 pm
by Stratego (dev)
updated:
"effectTriggers":["ON_DAMAGED"], ----------------------------------------------------------------------- what event triggers the effect: ON_DAMAGED, ON_DAMAGED_AMOUNT, ON_DIED, ON_KILL_ENEMY, ON_DAMAGES, ON_DAMAGES_AMOUNT



system special effects are under "system special effects"

Re: Game definition jsons - Effect definition json

Posted: Tue Dec 10, 2019 4:35 pm
by Stratego (dev)
IS_TERRAIN_SOURCE, // this effect is from a terrain affection (like in woods foot units can have +1 defense)

(first steps of making terrain put some effect on units)

Re: Game definition jsons - Effect definition json

Posted: Tue Dec 10, 2019 11:46 pm
by Stratego (dev)
i made a little differntly - so IS_TERRAIN_SOURCE is removed.