- [NEW] Els actors que maten també poden fer-ho al ser tocats
This commit is contained in:
@@ -459,7 +459,13 @@ namespace actor
|
||||
{
|
||||
uint8_t result = 0;
|
||||
if ( (act->flags & FLAG_PUSHABLE) && ( !(source->flags&FLAG_HERO) || (hero::getSkills()&SKILL_GLOVES) ) ) act->push |= push;
|
||||
if ( (act->flags & FLAG_REACTIVE) && (act->react_mask & push) ) result = act->react_push;
|
||||
if ( (act->flags & FLAG_REACTIVE) && (act->react_mask & push) )
|
||||
{
|
||||
if (act->flags & FLAG_DEADLY)
|
||||
source->push |= PUSH_KILL;
|
||||
else
|
||||
result = act->react_push;
|
||||
}
|
||||
if (source->flags & FLAG_DEADLY) {
|
||||
result |= PUSH_KILL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user