MaNGOSR2

MangosR2 is a free, open source MMORPG framework, derived from MaNGOS project


You are not connected. Please login or register

Immunity for knockback

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Immunity for knockback on Wed Jul 04 2012, 22:18

When we tried to implement immunity for knockback for all bosses and vehicles, rsa reverted it saying that it is wrong. Maybe we should add a flag for this immunity?
This is a big problem in game, knocking bosses may lead to exploiting, knocking vehicles in bg leads to unfair winning etc.

I don't know if there are any bits left in mechanic_immunity_mask, if not then maybe in flags_extra?

View user profile

2 Re: Immunity for knockback on Thu Jul 05 2012, 04:01

rsa

avatar
Admin
Full knockback immunity impossible (some units with "boss" parameters, also some vehicles be knockbacked, it's fact), need research for this. possible some flags? if no one flag - need make custom flag.

View user profile

3 Re: Immunity for knockback on Thu Jul 05 2012, 09:40

We already have MECHANIC_KNOCKOUT = 14, // 0x00002000
may be just need rewrite Creature::IsImmuneToSpell like Unit::IsImmuneToSpell (check for effect mechanic immunity)

View user profile

4 Re: Immunity for knockback on Thu Jul 05 2012, 10:59

rsa

avatar
Admin
mmm... may be Creature::IsImmuneToSpellEffect? flag NOT_TAUNTABLE checked in same place...

View user profile

5 Re: Immunity for knockback on Thu Jul 05 2012, 11:30

MECHANIC_KNOCKOUT is some kind of "breakable stun" - Gouge, Repetence etc. spells have this mechanic, but no Typhoon or Column of Frost (they have no mechanic).

NOT_TAUNTABLE was added as flag_extra, maybe NOT_KNOCKBACKABLE should also be added ;P

View user profile

6 Re: Immunity for knockback on Thu Jul 05 2012, 11:43

rsa

avatar
Admin
as an variant - may be mechanic_knockout immunity must be checked at knockout effect apply, not only on spell mechanic check?

View user profile

7 Re: Immunity for knockback on Thu Jul 05 2012, 12:42

I think this is just an enum named in a wrong way. It isn't related anyhow to spell effect knockup/knockback/etc. so using this flag would lead to unwanted immunities/vulnerabilities. Must add new flag.

View user profile

8 Re: Immunity for knockback on Thu Jul 05 2012, 14:43

maybe no need new flag, look this patch: http://pastebin.com/e3UYxfRg

View user profile

9 Re: Immunity for knockback on Thu Jul 05 2012, 16:11

I explained why this wouldnt work in previous post ;)

View user profile

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum