Jump to content
  • 0

Request.


Noire

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  103
  • Reputation:   1
  • Joined:  06/26/13
  • Last Seen:  

1. A basic script that will check when a player(s) logged in have a higher value of Luk/Luck+, he/she will gain immunity to status effect like freeze/frost whatsoever.

* Luk - w/ 300+( 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 ) = Can be freeze no immune.
* Luk - w/ 300+( 20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40 ) = Cannot be freeze  have immune.

 

2. A script for Jobs w/ pushcart skill that will check if that player(s) has no cart equip on.

* If not every time that player logged in he/she will automatically will get a cart.
 

- If ever it'll be on source modification can you please provide some preferences. :)

Edited by Dokiee
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  89
  • Reputation:   5
  • Joined:  12/25/11
  • Last Seen:  

i have no idea what you mean by the first one, but for the second one, I can try

 

-<tab>script<tab>CARTGIVER<tab<-1,{

 

OnPCLogInEvent:

if ( BaseJob == Job_Merchant && checkcart() == 0 ) goto get_cart

 

get_cart:

if(getskilllv(39)<1) end;

setcart;

end;

}

 

untested though, I have a guess that it could work. the script checks if the character belongs to the merchant class and if he already have a cart. if a player is not a merch or already have a cart, the script will be terminated. if the character is a merch without a cart it will give him a cart as long as he have the pushcart skill.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  103
  • Reputation:   1
  • Joined:  06/26/13
  • Last Seen:  

i have no idea what you mean by the first one, but for the second one, I can try

 

-<tab>script<tab>CARTGIVER<tab<-1,{

 

OnPCLogInEvent:

if ( BaseJob == Job_Merchant && checkcart() == 0 ) goto get_cart

 

get_cart:

if(getskilllv(39)<1) end;

setcart;

end;

}

 

untested though, I have a guess that it could work. the script checks if the character belongs to the merchant class and if he already have a cart. if a player is not a merch or already have a cart, the script will be terminated. if the character is a merch without a cart it will give him a cart as long as he have the pushcart skill.

Thanks added some lines to make it better. *Credits to you

 

---

 

1. A basic script that will check when a player(s) logged in have a higher value of Luk/Luck+, he/she will gain immunity to status effect like freeze/frost whatsoever.

* if Luk - w/ 300+( 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 ) = Can be freeze no immune.

* if Luk - w/ 300+( 20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40 ) = Cannot be freeze  have immune.

 

^This :

- If Luk is 300+19 below stat , players will not have  immunity to frost/freeze status.

- if Luk stat is 300+20 above so on player/s will have immunity to frost/freeze status.

 

Edited by Dokiee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  103
  • Reputation:   1
  • Joined:  06/26/13
  • Last Seen:  

Bump !

 

---

 

1. A basic script that will check when a player(s) logged in have a higher value of Luk/Luck+, he/she will gain immunity to status effect like freeze/frost whatsoever.

* if Luk - w/ 300+( 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 ) = Can be freeze no immune.
* if Luk - w/ 300+( 20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40 ) = Cannot be freeze  have immune.

 

^This :
- If Luk is 300+19 below stat , players will not have  immunity to frost/freeze status.

- if Luk stat is 300+20 above so on player/s will have immunity to frost/freeze status.


 

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