Fixes Feint Bomb and bNoKnockBack (fixes #1814)
* Resolves Feint Bomb's backslide effect not working when the player is wearing an item that has the bonus NoKnockBack active. Thanks to @Everade!
This commit is contained in:
@@ -2966,6 +2966,10 @@ void skill_attack_blow(struct block_list *src, struct block_list *dsrc, struct b
|
||||
|
||||
// Blown-specific handling
|
||||
switch( skill_id ) {
|
||||
case SC_FEINTBOMB:
|
||||
// Don't stop the caster from backsliding if special_state.no_knockback is active
|
||||
skill_blown(dsrc, target, blewcount, dir, BLOWN_IGNORE_NO_KNOCKBACK);
|
||||
break;
|
||||
case LG_OVERBRAND_BRANDISH:
|
||||
// Give knockback damage bonus only hits the wall. (bugreport:9096)
|
||||
if (skill_blown(dsrc,target,blewcount,dir,BLOWN_NO_KNOCKBACK_MAP|BLOWN_MD_KNOCKBACK_IMMUNE|BLOWN_TARGET_NO_KNOCKBACK|BLOWN_TARGET_BASILICA) < blewcount)
|
||||
|
||||
Reference in New Issue
Block a user