Corrected Shield Press damage delay (fixes #1165)

* Damage should have a ~1 second delay as the shield animation falls.
This commit is contained in:
aleos89 2016-07-04 11:47:08 -04:00
parent 95f09f84bf
commit b3e1c52cbb

View File

@ -3268,6 +3268,9 @@ int64 skill_attack (int attack_type, struct block_list* src, struct block_list *
case WL_CHAINLIGHTNING_ATK:
dmg.dmotion = clif_skill_damage(src,bl,tick,dmg.amotion,dmg.dmotion,damage,1,WL_CHAINLIGHTNING_ATK,-2,DMG_SKILL);
break;
case LG_SHIELDPRESS:
dmg.dmotion = clif_skill_damage(dsrc, bl, tick, status_get_amotion(src), dmg.dmotion, damage, dmg.div_, skill_id, -1, DMG_SKILL);
break;
case LG_OVERBRAND:
case LG_OVERBRAND_BRANDISH:
dmg.amotion = status_get_amotion(src) * 2;