Jump to content

Question

Posted (edited)

When using step blocks the ability étero this asura, I need 2 put more skills to also blocked, but if I do this so that it falls below the map server how can I do?

fall in the map server:


#endif
if (sd)
skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);
skill_blockpc_start (sd, SR_CURSEDCIRCLE, 2000);
skill_blockpc_start (sd, SR_WINDMILL, 2000);

How can I put those two skills and SR_CURSEDCIRCLE SR_WINDMILL within the correct mode below?

#endif
if (sd)
skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);
Edited by sevenrosuport

5 answers to this question

Recommended Posts

Posted

when using

if (statement here)

the line below is only executed if above statement is true,

if you add other lines below it, they will be always read.

in this example

if(sd) -> if session_data is true -> run code below (player)

block asura for xx seconds

if(sd)

block asura -> checking if SD is true

block more stuff -> ignored the SD statement

When a monster uses body relocation aka snap, it will crash the server most likely.

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