Jump to content

MOD Request - Paralyze Staff


Recommended Posts

Hi, after many tries, I give up and ask if someone can do a staff that paralyze the target. I tried things like

--inside weapon's OnAttack
target.brain:Stop()
target.components.locomotor:Stop()
target.Physics:Stop()

And tried create a custom component 'paralizable', copying the 'freezable' component (and removing the color hue, ice effect and frost pose), adding a custom stategraph, but nothing worked.

I want the enemy become paralyzed, keeping the frame that he was when received the projectile, and in this state, he can't receive damage (all attacks/damage deal 0 health damage, and can't free him). The paralyze ends after some time (30*2, 2 days segments), but if the target receives a new paralyze, the effect ends instantly. The paralyzing projectile deal 0 damage too (or nil if possible, to not trigger the target hit animation).

I want most the paralyze code, the sprite and aimation I will do after, with the weapon details (like recipe, max uses, etc) so, you can use any sprite/art/asset/name/etc.

In advance, thanks so much for those who at least try this.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...