[NR-Core] Conditional Effect Behaviors Wont Work

Posts 1–8 of 8 · Page 1 of 1
[NR-Core] Conditional Effect Behaviors Wont Work
So I'm making behaviors since the source doesn't come with any and im trying to make the behavior for the hermit god.

when i use "new ConditionalEffect(ConditionEffectIndex.Invincible) ," it doesn't give an error but in game hermit is not invincible. Any fixes?
dont u have to use duration??
Quote Originally Posted by SeXZeFPS View Post
dont u have to use duration??
adding duration doesnt do anything
Code:
new ConditionalEffect(ConditionEffectIndex.Invincible, BOOLEAN, DURATION)
if you change BOOLEAN to true it will make the buff permanent however if you put false after false put duration for example:

Code:
new ConditionalEffect(ConditionEffectIndex.Invincible, false, 5000)
this will make the buff go on for 5 seconds.
Quote Originally Posted by TR4C3 View Post
Code:
new ConditionalEffect(ConditionEffectIndex.Invincible, BOOLEAN, DURATION)
if you change BOOLEAN to true it will make the buff permanent however if you put false after false put duration for example:

Code:
new ConditionalEffect(ConditionEffectIndex.Invincible, false, 5000)
this will make the buff go on for 5 seconds.
i put ""new ConditionalEffect(ConditionEffectIndex.Invincible, perm: true),"" and then hermit moves to the next state but hermit is still invincible

aslo tried with duration and adding a duration works, but i want hermit to be invincible for a whole state then vincible the next state
Quote Originally Posted by swankhawk View Post
i put ""new ConditionalEffect(ConditionEffectIndex.Invincible, perm: true),"" and then hermit moves to the next state but hermit is still invincible

aslo tried with duration and adding a duration works, but i want hermit to be invincible for a whole state then vincible the next state
Try using new RemoveConditionalEffect()
Quote Originally Posted by Demon View Post
Try using new RemoveConditionalEffect()
Solved. Also i was using invincible instead of invulnerable which was half of it
idk if this will work, but you can try changing the rewritten behavioral system to fsod and add hermit. However, I'm pretty sure there's a benenfit to the rewritten system.
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us