BFPkiller Posted December 7, 2019 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 111 Reputation: 2 Joined: 05/09/13 Last Seen: May 12, 2021 Share Posted December 7, 2019 Hi all ! Im trying to make a item wich has effect, that expire after 5 days ( the effect need to expire after 5 days ) this is my item code { bonus bAllStats, 3; bonus bHPGainValue,100; bonus bSPGainValue,100; },{},{} (All Stats +3, HP/SP +100, effects expire 5 days after opening the package) Can anyone help me out on this ? Thanks in advance Quote Link to comment Share on other sites More sharing options...
0 Serken Posted December 7, 2019 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 45 Reputation: 3 Joined: 10/06/13 Last Seen: 5 hours ago Share Posted December 7, 2019 U can put rentitem, but after 5 days expire the whole item not only the effect Quote Link to comment Share on other sites More sharing options...
0 BFPkiller Posted December 7, 2019 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 111 Reputation: 2 Joined: 05/09/13 Last Seen: May 12, 2021 Author Share Posted December 7, 2019 Thanks for your reply. Do i add that in the item script ? Quote Link to comment Share on other sites More sharing options...
0 Serken Posted December 7, 2019 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 45 Reputation: 3 Joined: 10/06/13 Last Seen: 5 hours ago Share Posted December 7, 2019 (edited) 30 minutes ago, BFPkiller said: Thanks for your reply. Do i add that in the item script ? U add in the npc give's dat item. *rentitem <item id>,<time>;*rentitem "<item name>",<time>; for example Quote rentitem 5013, 30000; give Kaho's for 5 min Edited December 7, 2019 by Serken Quote Link to comment Share on other sites More sharing options...
0 BFPkiller Posted December 7, 2019 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 111 Reputation: 2 Joined: 05/09/13 Last Seen: May 12, 2021 Author Share Posted December 7, 2019 11 minutes ago, Serken said: U add in the npc give's dat item. *rentitem <item id>,<time>;*rentitem "<item name>",<time>; for example give Kaho's for 5 min We dont have a npc that gives the item. Its a item we give as reward. Anything possible on that ? Quote Link to comment Share on other sites More sharing options...
0 Serken Posted December 7, 2019 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 45 Reputation: 3 Joined: 10/06/13 Last Seen: 5 hours ago Share Posted December 7, 2019 1 hour ago, BFPkiller said: We dont have a npc that gives the item. Its a item we give as reward. Anything possible on that ? The easiest way is put a npc who give's package only one time per char/account Quote Link to comment Share on other sites More sharing options...
0 rafanews Posted December 7, 2019 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 07/11/12 Last Seen: Thursday at 10:27 PM Share Posted December 7, 2019 (edited) Hi @BFPkiller You can make a script to set a player variable and get the effects if variable is active.for exemple: 40003,teste,Teste,4,30000,,500,,3,,1,0xFFFFFFFE,7,2,32,,65,1,4,{ if (bonus_teste == 1) { bonus bAllStats, 3; bonus bHPGainValue,100; bonus bSPGainValue,100;} },{},{} To finish the effect make like ''vip script'' that remove the ''vip days'' .. in this case remove the player variable "bonus_teste". i dont know if is a clean way to do that, but it works Edited December 7, 2019 by rafanews Quote Link to comment Share on other sites More sharing options...
0 BFPkiller Posted December 8, 2019 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 111 Reputation: 2 Joined: 05/09/13 Last Seen: May 12, 2021 Author Share Posted December 8, 2019 (edited) Hi all I have managed what i wanted to do. Also i'll share what i have done. The hats i wanted, i created seperately Then i made a box for each hat, wich would use the "rentitem" instead of the "getitem". This would give the hats with its effects and a expiration time. Thanks for all the help! Edited December 8, 2019 by BFPkiller Quote Link to comment Share on other sites More sharing options...
Question
BFPkiller
Hi all !
Im trying to make a item wich has effect, that expire after 5 days ( the effect need to expire after 5 days )
this is my item code
{ bonus bAllStats, 3; bonus bHPGainValue,100; bonus bSPGainValue,100; },{},{}
(All Stats +3, HP/SP +100, effects expire 5 days after opening the package)
Can anyone help me out on this ?
Thanks in advance
Link to comment
Share on other sites
7 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.