diff options
author | Dennis Friis <peavey@placid.dk> | 2008-04-21 00:41:10 +0000 |
---|---|---|
committer | Dennis Friis <peavey@placid.dk> | 2008-04-21 00:41:10 +0000 |
commit | 84ff7f18502d6b0f07cedb54f7b79f9ded1e8f1a (patch) | |
tree | 573edf442e75fc5fe44d145c0623ee0f33f98823 /src/map/atcommand.c | |
parent | 4ba8a054266c78e6ec4edc5b70d5b42ce2bee344 (diff) | |
download | tmwa-84ff7f18502d6b0f07cedb54f7b79f9ded1e8f1a.tar.gz tmwa-84ff7f18502d6b0f07cedb54f7b79f9ded1e8f1a.tar.bz2 tmwa-84ff7f18502d6b0f07cedb54f7b79f9ded1e8f1a.tar.xz tmwa-84ff7f18502d6b0f07cedb54f7b79f9ded1e8f1a.zip |
balance statpoint distribution a tad
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 8dc39ba..adad4fd 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2117,7 +2117,7 @@ int atcommand_baselevelup( if (level > battle_config.maximum_level || level > (battle_config.maximum_level - sd->status.base_level)) // fix positiv overflow level = battle_config.maximum_level - sd->status.base_level; for (i = 1; i <= level; i++) - sd->status.status_point += (sd->status.base_level + i + 14) / 5; + sd->status.status_point += (sd->status.base_level + i + 14) / 4; sd->status.base_level += level; clif_updatestatus(sd, SP_BASELEVEL); clif_updatestatus(sd, SP_NEXTBASEEXP); @@ -2135,7 +2135,7 @@ int atcommand_baselevelup( level = 1 - sd->status.base_level; if (sd->status.status_point > 0) { for (i = 0; i > level; i--) - sd->status.status_point -= (sd->status.base_level + i + 14) / 5; + sd->status.status_point -= (sd->status.base_level + i + 14) / 4; if (sd->status.status_point < 0) sd->status.status_point = 0; clif_updatestatus(sd, SP_STATUSPOINT); @@ -4454,7 +4454,7 @@ int atcommand_character_baselevel( if (level > battle_config.maximum_level || level > (battle_config.maximum_level - pl_sd->status.base_level)) // fix positiv overflow level = battle_config.maximum_level - pl_sd->status.base_level; for (i = 1; i <= level; i++) - pl_sd->status.status_point += (pl_sd->status.base_level + i + 14) / 5; + pl_sd->status.status_point += (pl_sd->status.base_level + i + 14) / 4; pl_sd->status.base_level += level; clif_updatestatus(pl_sd, SP_BASELEVEL); clif_updatestatus(pl_sd, SP_NEXTBASEEXP); @@ -4472,7 +4472,7 @@ int atcommand_character_baselevel( level = 1 - pl_sd->status.base_level; if (pl_sd->status.status_point > 0) { for (i = 0; i > level; i--) - pl_sd->status.status_point -= (pl_sd->status.base_level + i + 14) / 5; + pl_sd->status.status_point -= (pl_sd->status.base_level + i + 14) / 4; if (pl_sd->status.status_point < 0) pl_sd->status.status_point = 0; clif_updatestatus(pl_sd, SP_STATUSPOINT); |