Page 1 of 1

Adding reraise effect to signet?

Posted: Wed Apr 04, 2018 4:13 am
by warlord1352
I apologize if this has already been mentioned somewhere but I couldn't seem to find it. I've been trying to add the effect on my signet but every time I try to it breaks the game and closes....

Re: Adding reraise effect to signet?

Posted: Wed Apr 04, 2018 11:09 am
by whasf
How are you adding the reraise effect?

Re: Adding reraise effect to signet?

Posted: Wed Apr 04, 2018 11:39 am
by demolish
scripts/globals/effects/signet.lua
in onEffectGain you'll wanna target:addMod(MOD_RERAISE_III, 69)

then in onEffectLose you wanna
target:delMod(MOD_RERAISE_III, 69)

Re: Adding reraise effect to signet?

Posted: Wed Apr 04, 2018 2:15 pm
by warlord1352
whasf wrote:How are you adding the reraise effect?
I was adding with add status effect from the global signet.lua

*edit* So I changed it to the addMod and it is working now. Man I feel so stupid! Thanks so much! I don't know why I didn't try that as the others were mods on there too! -_-;;

P.S. what is the 69 specifically for?

Re: Adding reraise effect to signet?

Posted: Wed Apr 04, 2018 2:59 pm
by demolish
69 has no special meaning, could be 420 or 1337
just needs to be 1 or larger

Re: Adding reraise effect to signet?

Posted: Wed Apr 04, 2018 3:32 pm
by warlord1352
Ah ok thank you so much again. Sorry for the dumb questions.