diff --git a/doc/packet_interserv.txt b/doc/packet_interserv.txt index ed24145440..916c23b7a2 100644 --- a/doc/packet_interserv.txt +++ b/doc/packet_interserv.txt @@ -249,7 +249,7 @@ Currently the max packet size is 0xFFFF (see 'WFIFOSET()' in 'src/common/socket. 0x2728: Type: HA - Structure: .W .W .L .L { .?B .?B } + Structure: .W .W .L .L { .B . .L .B .?B } index: 0,2,4,8,13 len: variable (reg size+4) parameter: @@ -257,8 +257,11 @@ Currently the max packet size is 0xFFFF (see 'WFIFOSET()' in 'src/common/socket. - len: pakcet size - aid: account identification - cid : char identification - - str : name of variable in registry - - value : value of varaible in registry + - keyLength + - key + - index + - type + - value desc: - Receive an request to fetch account_reg2 from a char-server, see packet 0x3004 (mapif_parse_Registry) @@ -1438,9 +1441,9 @@ Currently the max packet size is 0xFFFF (see 'WFIFOSET()' in 'src/common/socket. - Parse whisper to GM 0x3804 - Type: IZ - Structure: .W .W .L .L .B - index: 0,2,4,8,12 + Type: AH + Structure: .W .W .L .L .B .B .W { .B . .L .B . }* + index: 0,2,4,8,12,13,14,16,... len: variable: 13 or p (Max=5013) parameter: - cmd : packet identification (0x3804) @@ -1448,6 +1451,12 @@ Currently the max packet size is 0xFFFF (see 'WFIFOSET()' in 'src/common/socket. - aid - cid - type + - count + - keyLength + - key + - index + - val + - valLength desc: - Account registry transfer to map-server diff --git a/src/map/battle.c b/src/map/battle.c index f791f2c40e..7eb7439112 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2129,6 +2129,7 @@ static int battle_skill_damage(struct block_list *src, struct block_list *target nullpo_ret(src); if (!target || !skill_id) return 0; + skill_id = skill_dummy2skill_id(skill_id); return battle_skill_damage_skill(src, target, skill_id) + battle_skill_damage_map(src, target, skill_id); } #endif