Fixes NPC_DARKBREATH attack type

* Follow up to 70d6876.
* Fixes #4997.
* The attack type for NPC_DARKBREATH will now properly read the database value.
Thanks to @qwerty7vp!
This commit is contained in:
aleos 2020-05-22 09:18:52 -04:00
parent e1aed76410
commit 81a2b8c995

View File

@ -5530,7 +5530,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, uint
case NJ_ZENYNAGE:
case GN_THORNS_TRAP:
case RL_B_TRAP:
skill_attack(BF_MISC,src,src,bl,skill_id,skill_lv,tick,flag);
skill_attack(skill_get_type(skill_id),src,src,bl,skill_id,skill_lv,tick,flag);
break;
#ifdef RENEWAL
case NJ_ISSEN: {