peterl Posted July 17, 2021 Posted July 17, 2021 (edited) I want to add atk to player permanently after player click the "add atk" option in a NPC. (option is in a switch-case) I've check this topic: But, when I tried: set atk_stack, 1; //some other code... OnPcCalcEvent: bonus batk, atk_stack; end; => doesn't work. set atk_stack, 1; //some other code... OnPCStatCalcEvent: bonus batk, atk_stack; end; => doesn't work (set was success by the way, I've check it by message it out) Does anyone know how to achieve this kind of goal? Edited July 17, 2021 by peterl Quote
Question
peterl
I want to add atk to player permanently after player click the "add atk" option in a NPC. (option is in a switch-case)
I've check this topic:
But, when I tried:
set atk_stack, 1;
//some other code...
OnPcCalcEvent:
bonus batk, atk_stack;
end;
=> doesn't work.
set atk_stack, 1;
//some other code...
OnPCStatCalcEvent:
bonus batk, atk_stack;
end;
=> doesn't work
(set was success by the way, I've check it by message it out)
Does anyone know how to achieve this kind of goal?
Edited by peterl0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.