mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +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++;
|
||||
source.asEntity().setInvulnerable(age < 25);
|
||||
|
||||
|
||||
setDirty();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue