mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-24 21:54:33 +01:00
Add a moment of invinsibility at the start of a nirik's rage
This commit is contained in:
parent
e5fe26cba8
commit
577f5c8bb8
1 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,9 @@ public class RageAbilitySpell extends AbstractSpell {
|
||||||
}
|
}
|
||||||
|
|
||||||
age++;
|
age++;
|
||||||
|
source.asEntity().setInvulnerable(age < 25);
|
||||||
|
|
||||||
|
|
||||||
setDirty();
|
setDirty();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue