git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@726 54d463be-8e91-2dee-dedb-b68131a5f0ec

This commit is contained in:
celest 2004-12-22 12:27:08 +00:00
parent db1aad719e
commit 6187e4dfe6
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,7 @@
Date Added Date Added
12/22 12/22
* Fixed frost diver not working ... my bad =p [celest]
* Corrected typo in clif_hpmeter - md -> sd [celest]
* Check if the player has been authentified by the char server before * Check if the player has been authentified by the char server before
clearing any timers in map_quit [celest] clearing any timers in map_quit [celest]
* Added eventtimercount and timerskill_count - check these before clearing * Added eventtimercount and timerskill_count - check these before clearing

View File

@ -5807,7 +5807,7 @@ int clif_hpmeter(struct map_session_data *sd)
WBUFW(buf2,8)=(sd->status.max_hp > 0x7fff)? 0x7fff:sd->status.max_hp; WBUFW(buf2,8)=(sd->status.max_hp > 0x7fff)? 0x7fff:sd->status.max_hp;
for(i=0;i<fd_max;i++){ for(i=0;i<fd_max;i++){
if(session[i] && (md=session[i]->session_data) && md->state.auth && if(session[i] && (md=session[i]->session_data) && md->state.auth &&
md->bl.m == md->bl.m && pc_isGM(md) && sd != md){ md->bl.m == sd->bl.m && pc_isGM(md) && sd != md){
memcpy(WFIFOP(i,0),buf2,packet_len_table[0x106]); memcpy(WFIFOP(i,0),buf2,packet_len_table[0x106]);
WFIFOSET(i,packet_len_table[0x106]); WFIFOSET(i,packet_len_table[0x106]);
} }

View File

@ -2627,8 +2627,8 @@ int skill_castend_damage_id( struct block_list* src, struct block_list *bl,int s
rate = rate<=5?5:rate; rate = rate<=5?5:rate;
if (sc_data && sc_data[SC_FREEZE].timer != -1) { if (sc_data && sc_data[SC_FREEZE].timer != -1) {
skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,flag); skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,flag);
} else if (sd) { if (sd)
clif_skill_fail(sd,skillid,0,0); clif_skill_fail(sd,skillid,0,0);
break; break;
} }
damage = skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,flag); damage = skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,flag);
@ -10024,7 +10024,7 @@ int skill_status_change_start(struct block_list *bl, int type, int val1, int val
if(val1>5) //レベルが5以上の場合は25?に制限(1?目はすでに打ってるので-1) if(val1>5) //レベルが5以上の場合は25?に制限(1?目はすでに打ってるので-1)
val3=5*5-1; val3=5*5-1;
else else
val3= (val1|1)*(val1|1)-1; val3= (val1|1)*(val1|1)-1;
break; break;
/* スキルじゃない/時間に?係しない */ /* スキルじゃない/時間に?係しない */