Jump to content
  • 0

Checking for Perfect Dodge


j2rhyme

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/20/15
  • Last Seen:  

Hi, I'm currently making a warper that warps you into a dungeon that has pretty much strong monsters.

 

But there are certain conditions you need to meet before the NPC warps you.

 

And that is:

 

Zeny

Above 90% Perfect Dodge.

So regarding that, how do I check if a player has above 90 PD? I used bFlee2. But despite that, the warper sees me as someone who has below 90 PD. 

 

Here's my script

switch(select("Enter Dome:Cancel"))
{
 
    case 1:
    if (readparam(bFlee2) < 90) goto L_error;
    close;

    case 2:
    mes "^3D7213Dome Warper:^000000";
    mes "Have a nice day! Goodbye.";
close;
 
}//end Switch

EDIT: SOLVED - I experimented with Perfect Dodge in-game and found out that in order to check for 90% Perfect Dodge rate, you'll need to put: if (readparam(bFlee2) < 900). Or if 100%: if (readparam(bFlee2) < 1000).

Edited by j2rhyme
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...