Hello there,
I am new to osiris scripting. Is there any way to stock/store an integer in a rule to reuse in another rule (in the same goal) ?
Or is there any call to change Max Hit Point in Osiris (I know of the IncreaseMaxHp in game)?

For example I want to store in memory the Current hit point of a character after applying damage :

Code
IF
StatusApplied((CHARACTER)_Target, "HARM", _,_)
AND
GetMaxHitpoints(_Target, _MaxHP)
AND
GetHitpoints(_Target, _CurrentHP)
AND
Random(71, _HarmDice)
AND
IntegerSum(_HarmDice,13,_HarmDamage)
AND
_CurrentHP > _HarmDamage
AND
IntegerSubtract(_CurrentHP, _HarmDamage, _CurrentHPToHarm)
AND
IntegerSubtract(_MaxHP,_HarmDamage,_NewMaxHP)
AND
GetHitpointsPercentage(_Target, _CurrentHPPercentageReal)
THEN
ApplyDamage(_Target,_HarmDamage,"Necrotic",_Target)

Thanks!