Mephisto Posted May 8, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 56 Reputation: 6 Joined: 03/21/17 Last Seen: July 25, 2017 Share Posted May 8, 2017 (edited) 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 May 8, 2017 by Emistry Double Post Quote Link to comment Share on other sites More sharing options...
0 Halestorm Posted May 8, 2017 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 23 Reputation: 0 Joined: 11/19/16 Last Seen: July 13, 2017 Share Posted May 8, 2017 Edit it on status.c.. Quote Link to comment Share on other sites More sharing options...
0 Mephisto Posted May 8, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 56 Reputation: 6 Joined: 03/21/17 Last Seen: July 25, 2017 Author Share Posted May 8, 2017 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 ? Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted May 8, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: May 14 Share Posted May 8, 2017 Try to use OnPCStatCalcEvent, instead of OnPCLoginEvent. 1 Quote Link to comment Share on other sites More sharing options...
0 Technoken Posted May 8, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 505 Reputation: 127 Joined: 04/04/16 Last Seen: May 14 Share Posted May 8, 2017 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. Quote Link to comment Share on other sites More sharing options...
0 Ninja Posted May 11, 2017 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Share Posted May 11, 2017 If you do the OnPCStatCalcEvent make e you adjust your maximum queue size as you will get lots of warnings about it. Quote Link to comment Share on other sites More sharing options...
0 Mephisto Posted May 13, 2017 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 56 Reputation: 6 Joined: 03/21/17 Last Seen: July 25, 2017 Author Share Posted May 13, 2017 Solved. Thank you everyone Quote Link to comment Share on other sites More sharing options...
Question
Mephisto
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 ?
- script 300Luk -1,{
OnPCLoginEvent:
if (readparam(bLuk) > 299 )
bonus2 bResEff,Eff_Freeze,10000;
}
Double Post
Link to comment
Share on other sites
6 answers 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.