bimbi Posted August 30, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 59 Reputation: 1 Joined: 01/15/12 Last Seen: April 19, 2017 Share Posted August 30, 2012 Is it poissible to increase the stats of a player via npc command like the item script do, i mean the right stats STR: 99 + 5 -> is it possible to increase the + 5 via npc command? Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted August 30, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted August 30, 2012 --------------------------------------- *statusup <stat>; This command will bump a specified stat of the invoking character up by one permanently. Stats are to be given as number, but you can use these constants to replace them: bStr - Strength bVit - Vitality bInt - Intelligence bAgi - Agility bDex - Dexterity bLuk - Luck --------------------------------------- *statusup2 <stat>,<amount>; This command will bump a specified stat of the invoking character up by the specified amount permanently. The amount can be negative. See 'statusup'. // This will decrease a character's Vit forever. statusup bVit,-1; --------------------------------------- Quote Link to comment Share on other sites More sharing options...
bimbi Posted August 30, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 59 Reputation: 1 Joined: 01/15/12 Last Seen: April 19, 2017 Author Share Posted August 30, 2012 statusup is not working, if you have max str for example, i want to increase the stats which were increased by item scripts Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted August 30, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted August 30, 2012 my bad, maybe this then: ---------------------------------------*setitemscript(<item id>,<"{ new item script }">{,<type>}); Set a new script bonus to the Item. Very useful for game events. You can remove an item's itemscript by leaving the itemscript argument empty. Returns 1 on success, or 0 on fail (item_id not found or new item script is invalid). Type can optionally be used indicates which script to set (default is 0): 0 - Script 1 - OnEquip_Script 2 - OnUnequip_Script Example: setitemscript 2637,"{ if(isequipped(2236)==0)end; if(getskilllv(26)){skill 40,1;}else{skill 26,1+isequipped(2636);} }"; setitemscript 2637,""; --------------------------------------- Quote Link to comment Share on other sites More sharing options...
bimbi Posted August 30, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 59 Reputation: 1 Joined: 01/15/12 Last Seen: April 19, 2017 Author Share Posted August 30, 2012 Thanks i will try Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 31, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted August 31, 2012 will be removed upon dead / time's up. cant stack with normal food usage.... sc_start SC_STRFOOD, <Time>, <Amount>; sc_start SC_AGIFOOD, <Time>, <Amount>; sc_start SC_VITFOOD, <Time>, <Amount>; sc_start SC_INTFOOD, <Time>, <Amount>; sc_start SC_DEXFOOD, <Time>, <Amount>; sc_start SC_LUKFOOD, <Time>, <Amount>; wont remove upon dead until time's up sc_start SC_FOOD_STR_CASH, <Time>, <Amount>; sc_start SC_FOOD_AGI_CASH, <Time>, <Amount>; sc_start SC_FOOD_DEX_CASH, <Time>, <Amount>; sc_start SC_FOOD_INT_CASH, <Time>, <Amount>; sc_start SC_FOOD_VIT_CASH, <Time>, <Amount>; sc_start SC_FOOD_LUK_CASH, <Time>, <Amount>; Quote Link to comment Share on other sites More sharing options...
bimbi Posted August 31, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 59 Reputation: 1 Joined: 01/15/12 Last Seen: April 19, 2017 Author Share Posted August 31, 2012 and without timelimit, it should be a bonus by a quest. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 31, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted August 31, 2012 if you want it to be timeless.....try use -1 as the time.....and use the cashfood script so that the effect wont dissapear upon dead. Quote Link to comment Share on other sites More sharing options...
bimbi Posted August 31, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 59 Reputation: 1 Joined: 01/15/12 Last Seen: April 19, 2017 Author Share Posted August 31, 2012 allright i will try thanks, it would be a good suggestion to add a script function like this to rathena Quote Link to comment Share on other sites More sharing options...
dice4real Posted October 31, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 45 Reputation: 1 Joined: 10/18/12 Last Seen: October 29, 2024 Share Posted October 31, 2012 Lutie lady's and Cashfood Wont Stack please Help... Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 31, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 31, 2012 try search for OnPCStatCalcEvent source modification that modification can increase stats without using an item and its permanent I start to see this modification is getting more useful Quote Link to comment Share on other sites More sharing options...
Question
bimbi
Is it poissible to increase the stats of a player via npc command like the item script do, i mean the right stats
STR: 99 + 5 -> is it possible to increase the + 5 via npc command?
Link to comment
Share on other sites
10 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.