Browse Source

Fixed party_skill_check not updating the party members

Daegaladh 7 năm trước cách đây
mục cha
commit
6f91de806c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/map/party.cpp

+ 1 - 0
src/map/party.cpp

@@ -964,6 +964,7 @@ int party_skill_check(struct map_session_data *sd, int party_id, uint16 skill_id
 
 	if(!party_id || (p = party_search(party_id)) == NULL)
 		return 0;
+	party_check_state(p);
 	switch(skill_id) {
 		case TK_COUNTER: //Increase Triple Attack rate of Monks.
 			if (!p->state.monk) return 0;