Magic Item State 'Impact Actions' to heal object

Vlaxep

Active member
Hi,

I have a scenario where I use a 'repair tool' item which is actually a 'MagicItem' that casts a MagicParticle
which on impact performs a 'Heal'

I need this to only occur on the current client if the client is the master.

So effectively all machines need to detect the impact for FX purposes, but only the Master is recording
both 'damage' and 'heal' effects, and sending the updated 'HealthValue' for the Attribute manager
via RPC.

I've got my repair tool with the 'MagicItem' component, and under 'Impact' I have 'Heal' default value = 0

Then a state 'HealMasterOnly' under Impact Actions > Heal > States

PROBLEM - I seem unable to get the state to be active. I'm simply trying to use one of the three methods:

Item.SetState
MagicItem.SetState
StateManager.SetStage

none of these activate the state....
 
Top