diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-26 04:54:22 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-26 04:54:22 +0000 |
commit | 317ba93ee42b32c369f7aa7f669f4acb3ac72e60 (patch) | |
tree | f032cb881d1d50ef026b155b8c9d4e47a0b7f081 /src/map/map.c | |
parent | 3f38fcaeaf61cf293c5392a67d85cfd5465d9585 (diff) | |
download | hercules-317ba93ee42b32c369f7aa7f669f4acb3ac72e60.tar.gz hercules-317ba93ee42b32c369f7aa7f669f4acb3ac72e60.tar.bz2 hercules-317ba93ee42b32c369f7aa7f669f4acb3ac72e60.tar.xz hercules-317ba93ee42b32c369f7aa7f669f4acb3ac72e60.zip |
* Added status.c and status.h of jA 1091 update and moved some functions into the new source files
* Updated auto_counter_type's description in battle_athena
* Removed some unnecessary skill level checks in battle.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@996 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c index 00643faca..2a74e94e8 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -22,6 +22,7 @@ #include "intif.h" #include "npc.h" #include "pc.h" +#include "status.h" #include "mob.h" #include "chat.h" #include "itemdb.h" @@ -1011,7 +1012,7 @@ int map_quit(struct map_session_data *sd) { if(sd->sc_data && sd->sc_data[SC_BERSERK].timer!=-1) //バ?サ?ク中の終了はHPを100に sd->status.hp = 100; - skill_status_change_clear(&sd->bl,1); // ステ?タス異常を解除する + status_change_clear(&sd->bl,1); // ステ?タス異常を解除する skill_clear_unitgroup(&sd->bl); // スキルユニットグル?プの削除 skill_cleartimerskill(&sd->bl); @@ -1025,7 +1026,7 @@ int map_quit(struct map_session_data *sd) { skill_gangsterparadise(sd,0); if (sd->state.auth) - pc_calcstatus(sd,4); + status_calc_pc(sd,4); // skill_clear_unitgroup(&sd->bl); // [Sara-chan] clif_clearchar_area(&sd->bl,2); @@ -2808,6 +2809,7 @@ int do_init(int argc, char *argv[]) { do_init_mob(); // npcの初期化時?でmob_spawnして、mob_dbを?照するのでinit_npcより先 do_init_script(); do_init_pc(); + do_init_status(); do_init_party(); do_init_guild(); do_init_storage(); |