peterl Posted July 17, 2021 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 20 Reputation: 1 Joined: 09/04/17 Last Seen: May 22, 2024 Share 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 Link to comment Share on other sites More sharing options...
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 peterlLink to comment
Share on other sites
0 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.