diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-27 23:52:18 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-27 23:52:18 +0000 |
commit | e929a6637d97216fa3b9066765a1d4da04707b6a (patch) | |
tree | 7b3aebd89c21f10c51f952351dc71562f08aef4e /src/map/pc.c | |
parent | 4adb9de072ca4dfe82b735325635f1433bf24ce0 (diff) | |
download | hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.tar.gz hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.tar.bz2 hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.tar.xz hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.zip |
- Added config setting party_update_interval so you can specify how often the party-mate minidots should be updated (defaults to 1 sec).
- Removed a bunch of broken comments in skill.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7929 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 730c15d88..5e20aaa4a 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -295,8 +295,6 @@ int pc_setrestartvalue(struct map_session_data *sd,int type) { if ((unsigned int)sd->status.sp < b_status->sp) sd->status.sp = b_status->sp; } - /* removed exp penalty on spawn [Valaris] */ - return 0; } @@ -3178,6 +3176,7 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl) } return 1; } + /*========================================== * *------------------------------------------ @@ -3896,7 +3895,7 @@ int pc_follow_timer(int tid,unsigned int tick,int id,int data) if ((tbl = map_id2bl(sd->followtarget)) == NULL) return 0; - if(tbl->type == BL_PC && pc_isdead((TBL_PC *)tbl)) + if(status_isdead(tbl)) return 0; // either player or target is currently detached from map blocks (could be teleporting), @@ -4132,7 +4131,7 @@ int pc_gainexp(struct map_session_data *sd, struct block_list *src, unsigned int else sd->status.base_exp += base_exp; - pc_checkbaselevelup(sd) ; + pc_checkbaselevelup(sd); clif_updatestatus(sd,SP_BASEEXP); @@ -4724,7 +4723,6 @@ void pc_damage(struct map_session_data *sd,struct block_list *src,unsigned int h return; } - int pc_dead(struct map_session_data *sd,struct block_list *src) { int i=0,j=0; @@ -5294,7 +5292,6 @@ int pc_setparam(struct map_session_data *sd,int type,int val) return 0; } - /*========================================== * HP/SP Healing. If flag is passed, the heal type is through clif_heal, otherwise update status. *------------------------------------------ |