Jump to content
  • 0

How to add permanent bonus atk to player in script?


peterl

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  09/04/17
  • Last Seen:  

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 peterl
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...