any guidance on what effects\etude.lua should look like?
tried using Carol formula and replacind MOD_XXXRES with MOD_STR and so on but that didnt seem to work, just caused crashes.
Any idea on what it should look like?
for instance have a check in effects\etude.lua that does this, If spell=logical etude return MOD_MIND, If spell=Bewitching etude return MOD_CHR
or is there a simpler way of setting this up like carols are set up... I seem to be missing something here.
Scripting etude's
Re: Scripting etude's
I scripted the spells themselves... But the actual status effect of Etude is empty, and i'm having a lil bit of a hard time trying to make it work according to the type of etude cast.
Re: Scripting etude's
power: amount of stat to add
subpower: modifier
ex. sinewy_etude.lua:
target:addBardSong(caster, EFFECT_ETUDE, power, 0, duration, caster:getID(), MOD_STR, 1);
etude.lua:
target:addMod(effect:getSubPower(), effect:getPower());
subpower: modifier
ex. sinewy_etude.lua:
target:addBardSong(caster, EFFECT_ETUDE, power, 0, duration, caster:getID(), MOD_STR, 1);
etude.lua:
target:addMod(effect:getSubPower(), effect:getPower());
Re: Scripting etude's
That makes a hell of a lot more sense thanks for the super fast response.
Re: Scripting etude's
Perfect! Worked like a charm. Thanks again Kj!