- Fixed skills displaying a 32k damage when used while disguised.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9476 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-12-12 16:27:49 +00:00
parent 83e8fa80b9
commit f7d506f645
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/12/12 2006/12/12
* Fixed skills displaying a 32k damage when used while disguised. [Skotlex]
* Minor changes to ers. * Minor changes to ers.
* Removed unused/hardly used cbasetypes typedefs. * Removed unused/hardly used cbasetypes typedefs.
* Updated txt-converter's makefile to include utils.o [FlavioJS] * Updated txt-converter's makefile to include utils.o [FlavioJS]

View File

@ -4595,7 +4595,7 @@ int clif_skill_damage(struct block_list *src,struct block_list *dst,
if(disguised(src)) { if(disguised(src)) {
WBUFL(buf,4)=-src->id; WBUFL(buf,4)=-src->id;
if(damage > 0) if(damage > 0)
WBUFW(buf,24)=-1; WBUFL(buf,24)=-1;
clif_send(buf,packet_len_table[0x1de],src,SELF); clif_send(buf,packet_len_table[0x1de],src,SELF);
} }
if (disguised(dst)) { if (disguised(dst)) {
@ -4603,7 +4603,7 @@ int clif_skill_damage(struct block_list *src,struct block_list *dst,
if (disguised(src)) if (disguised(src))
WBUFL(buf,4)=src->id; WBUFL(buf,4)=src->id;
else if(damage > 0) else if(damage > 0)
WBUFW(buf,24)=-1; WBUFL(buf,24)=-1;
clif_send(buf,packet_len_table[0x1de],dst,SELF); clif_send(buf,packet_len_table[0x1de],dst,SELF);
} }
#endif #endif