Jump to content
  • 0

Statpoints Problem


Question

Posted (edited)

Hi,

If I reset my stats on my server, they get lower. My Job Master give 750 extra status points. If I reset them they jump back to 13222 -_- where I can edit the max statuspoints so that the 750 won't get deleted?

My Script:

merullian,99,100,5 script Reset Girl 882,{
//Preis Status Reset,  Preis Skill Reset,  Preis beides Reset,  Extra Status punkte, Minimales Level,Erlaube Novice zurücksetzen(0 = Nein,1 = Ja),Preis Novice Reset,Novice Reset Extra Punkte
setarray @in1to[1],40000,50000,90000,0,20,1,100000,100;
//Name
set @in1to1$,"[^ff0000Resetter^000000]";

mes @in1to1$;
if (@in1to[6] == 0)mes "Gutentag, ich bin ein Resetter und kann deine Status und Skills zurücksetzen.";
if (@in1to[6] == 1)mes "Gutentag, ich bin ein Resetter und kann deine Status,Skills und dich zum Novice zurücksetzen.";
next;
mes @in1to1$;
if (BaseLevel < @in1to[5]){
mes "Du musst mindestens Base Level "+@in1to[5]+"^000000 haben.";
close;
}
mes "Was möchtest du machen ?";
switch(select((@in1to[6])?"Zum Novice Zurücksetzen":"",
"Status Resetten","Skills Resetten","Beides Resetten","Beenden")){
 case 1:
  next;
  mes @in1to1$;
  mes "Das wird dich ^ff0000"+@in1to[7]+"^000000 kosten, einversanden?";
  switch(select("Nein","Ja")){
   case 1:
 close;
   case 2:
 next;
 mes @in1to1$;
 if(checkcart() || checkfalcon() || checkriding()){
 mes "Bitte entferne dein Cart,Falcon oder PecoPeco und komm dann wieder";
 close;
 }
 resetlvl 1;
 set StatusPoint,0;
 set SkillPoint,0;
 jobchange 0;
 set StatusPoint,StatusPoint+@in1to[4];
 mes "Du wurdest nun als Novice wiedergeboren...";
 close;
  }

 case 2:
  next;
  mes @in1to1$;
  mes "Das wird dich ^ff0000"+@in1to[1]+"^000000 kosten, einversanden?";
  switch(select("Ja","Nein")){
   case 1:
 if (Zeny < @in1to[1])goto lneedzeny;
 ResetStatus;
 if (BaseLevel == 350)set StatusPoint,13952+@in1to[4];
 if (BaseLevel < 350)set StatusPoint,StatusPoint+@in1to[4];
 set Zeny,Zeny-@in1to[1];
 close;
   case 2:
 close;
  }

 case 3:
  next;
  mes @in1to1$;
  mes "Das wird dich ^ff0000"+@in1to[2]+"^000000 kosten, einversanden?";
  switch(select("Ja","Nein")){
   case 1:
 if (Zeny < @in1to[1])goto lneedzeny;
 ResetSkill;
 set Zeny,Zeny-@in1to[2];
 close;
   case 2:
 close;
  }
 case 4:
  next;
  mes @in1to1$;
  mes "Das wird dich ^ff0000"+@in1to[3]+"^000000 kosten, einversanden?";
  switch(select("Ja","Nein")){
   case 1:
 if (Zeny < @in1to[3])goto lneedzeny;
 ResetStatus;
 ResetSkill;
 if (BaseLevel == 350)set StatusPoint,13222+@in1to[4];
 if (BaseLevel < 350)set StatusPoint,StatusPoint+@in1to[4];
 set Zeny,Zeny-@in1to[3];
 close;
   case 2:
 close;
}

 case 5:
  close;
}
next;
mes @in1to1$;
mes "Du hast leider nicht genug Zeny dabei..";
close;
}

Edited by Lightning Farron

3 answers to this question

Recommended Posts

Posted

I don't use renewal.

// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CONFIG_RENEWAL_H_
//#define _CONFIG_RENEWAL_H_
/**
* rAthena configuration file (http://rathena.org)
* For detailed guidance on these check http://rathena.org/wiki/SRC/config/
**/
/**
* @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
**/
/// game renewal server mode
/// (disable by commenting the line)
///
/// leave this line to enable renewal specific support such as renewal formulas
///#define RENEWAL
/// renewal cast time
/// (disable by commenting the line)
///
/// leave this line to enable renewal casting time algorithms
/// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats.
/// example:
///  on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a
///  "fixed cast time" which can only be reduced by specialist items and skills
///#define RENEWAL_CAST
/// renewal drop rate algorithms
/// (disable by commenting the line)
///
/// leave this line to enable renewal item drop rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
/// based on the http://irowiki.org/wiki/Drop_System#Level_Factor table
///#define RENEWAL_DROP
/// renewal exp rate algorithms
/// (disable by commenting the line)
///
/// leave this line to enable renewal item exp rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
///#define RENEWAL_EXP
/// renewal level modifier on damage
/// (disable by commenting the line)
///
// leave this line to enable renewal base level modifier on skill damage (selected skills only)
///#define RENEWAL_LVDMG
/// renewal cast time variable cast requirement
///
/// this is the value required for no variable cast-time with stats.
/// formula: (DEX * 2) + INT
/// default: 530
///#define RENEWAL_CAST_VMIN 530
/// renewal enchant deadly poison algorithm
///
/// leave this line to enable the renewed EDP algorithm
/// under renewal mode:
///  - damage is NOT increased by 400%
///  - it does NOT affect grimtooth
///  - weapon and status ATK are increased
///#define RENEWAL_EDP
/// renewal ASPD [malufett]
/// (disable by commenting the line)
///
/// leave this line to enable renewal ASPD
/// - shield penalty is applied
/// - AGI has a greater factor in ASPD increase
/// - there is a change in how skills/items give ASPD
/// - some skill/item ASPD bonuses won't stack
///#define RENEWAL_ASPD
#endif // _CONFIG_RENEWAL_H_

I've got just the problem with statpoints if I reset my stats .

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...