|
@@ -6001,7 +6001,7 @@ void clif_skill_estimation(struct map_session_data *sd,struct block_list *dst)
|
|
WBUFW(buf,18)= status->def_ele;
|
|
WBUFW(buf,18)= status->def_ele;
|
|
for(i=0;i<9;i++)
|
|
for(i=0;i<9;i++)
|
|
// The following caps negative attributes to 0 since the client displays them as 255-fix. [Skotlex]
|
|
// The following caps negative attributes to 0 since the client displays them as 255-fix. [Skotlex]
|
|
- WBUFB(buf,20+i)= (unsigned char)((fix=elemental_attribute_db.getAttribute(i+1,status->def_ele, status->ele_lv))<0?0:fix);
|
|
|
|
|
|
+ WBUFB(buf,20+i)= (unsigned char)((fix=elemental_attribute_db.getAttribute(status->ele_lv, i+1, status->def_ele))<0?0:fix);
|
|
|
|
|
|
clif_send(buf,packet_len(0x18c),&sd->bl,sd->status.party_id>0?PARTY_SAMEMAP:SELF);
|
|
clif_send(buf,packet_len(0x18c),&sd->bl,sd->status.party_id>0?PARTY_SAMEMAP:SELF);
|
|
}
|
|
}
|