Jump to content
  • 0

Convert old OnPCAttackEvent to latest version of rathena


The Fool

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  09/13/20
  • Last Seen:  

Hi anyone can help me to fix this to latest version of rathena

this is the code i already edit that but i got this error 


battle.cpp:1704:26: error: ‘NPCE_PCATK’ was not declared in this scope
    npc_script_event( sd, NPCE_PCATK );
                          ^
battle.cpp:1704:37: error: ‘npc_script_event’ was not declared in this scope
    npc_script_event( sd, NPCE_PCATK );

i already added the NPCE_PCATK to npc.cpp and npc.hpp how can i solve this? thanks for advance

 

Edited by The Fool
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  09/13/20
  • Last Seen:  

Fixed

Link to comment
Share on other sites

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...