Jump to content
  • 0
Mephisto

Help with this Immune Script

Question

So basically I want a script that If a player has 300 Luk it will be Immune to All Status Effect
Then I try to make a Script and here it is. But I don't know if it will work ? Can someone help me to implement something that I want ?

 

Spoiler

-    script    300Luk    -1,{
OnPCLoginEvent:
if (readparam(bLuk) > 299 )
bonus2 bResEff,Eff_Freeze,10000;
}

Edited by Emistry
Double Post
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Where sir ? Does it mean if I have 300 luk then I'll be immune to all status effect ? like froze, stun, sleep like that ?

 

You mean like this ?

 

Spoiler

-    script    300Luk    -1,{
OnPCStatCalcEvent:
if (readparam(bLuk) > 299 )
bonus2 bResEff,Eff_Freeze,10000;
}

If Luk = 300 then I will be immune to freeze ? Right ?

Link to comment
Share on other sites

  • 0

Yes. But that won't decrease the chance of being frozen when Luk is below 300. It will only be immune when player gets 300 Luk.

1 hour ago, Mephisto said:

Immune to All Status Effect

For immune to all status effect, you can add them one by one.

Link to comment
Share on other sites

  • 0

If you do the OnPCStatCalcEvent make e you adjust your maximum queue size as you will get lots of warnings about it. 

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.