Jump to content
  • 0

Convert old OnPCAttackEvent to latest version of rathena


Question

Posted (edited)

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

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...