Eross Posted July 12, 2021 Share Posted July 12, 2021 Hi ! everybody know that reseting stats can be done by using resetstatus; script .. But how about if I only want to reset is STR or AGI or Dex ?? How to do that ??? Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted August 25, 2021 Share Posted August 25, 2021 may try something like this prontera,155,181,5 script Sample 757,{ for ([email protected] = bStr; [email protected] <= bLuk; [email protected]++) [email protected][[email protected] - bStr] = readparam([email protected]); mes "Select the stats to reset to 1."; do { [email protected]$ += "Str - "+ [email protected][0] + ":"; [email protected]$ += "Vit - "+ [email protected][1] + ":"; [email protected]$ += "Int - "+ [email protected][2] + ":"; [email protected]$ += "Agi - "+ [email protected][3] + ":"; [email protected]$ += "Dex - "+ [email protected][4] + ":"; [email protected]$ += "Luk - "+ [email protected][5] + ":"; [email protected]$ += "Reset"; [email protected] = select([email protected]$); [email protected][[email protected]] = 1; } while ([email protected] <= 6); resetstatus; for ([email protected] = bStr; [email protected] <= bLuk; [email protected]++) { while (readparam([email protected]) < [email protected][[email protected] - bStr]) statusup [email protected]; } end; } 2 Quote Link to comment Share on other sites More sharing options...
0 DorekoNeko Posted July 12, 2021 Share Posted July 12, 2021 Here you have a list of possible commands to use in a script: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt I've read it quickly but I don't see any command to do what you're asking, so it is very possible that you need to implement the command in the source. I might do that later if I have some time. It should be pretty easy by copying and pasting the `pc_resetstate` method. Quote Link to comment Share on other sites More sharing options...
0 nihkub Posted July 23, 2021 Share Posted July 23, 2021 On 7/12/2021 at 11:44 AM, Origami said: Hi ! everybody know that reseting stats can be done by using resetstatus; script .. But how about if I only want to reset is STR or AGI or Dex ?? How to do that ??? This is not a 'reset' tho, But you can use @STR/AGI/DEX/VIT/INT/LUK (-)Number. Example: *I'm gonna 'reset' my STR to 1.* @str - 98 Quote Link to comment Share on other sites More sharing options...
0 Eross Posted July 23, 2021 Author Share Posted July 23, 2021 5 hours ago, nihkub said: This is not a 'reset' tho, But you can use @STR/AGI/DEX/VIT/INT/LUK (-)Number. Example: *I'm gonna 'reset' my STR to 1.* @str - 98 Yes but your Status Point doesnt get refunded Quote Link to comment Share on other sites More sharing options...
Hi ! everybody know that reseting stats can be done by using resetstatus; script .. But how about if I only want to reset is STR or AGI or Dex ?? How to do that ???
Link to comment
Share on other sites