Overclocked Manastone

mamrono

Active Member
I have no clue about scripting but can anyone help me, what i wanna do is when my mystic gets to about 10% power or beloe to use the overclocked manastone. If is already done for some reason mine is not doing it.
 

bob_the_builder

Well-Known Member
Open the Mystic.iss file in the Class Routines
Find RefreshPower line 622

Change to this:

Code:
function RefreshPower()
{
	
	call Shard 60
	if ${Me.Power}<10 && ${Me.ToActor.Health}>60 && ${Me.Inventory[${Overclocked Manastone}](exists)} && ${Me.Inventory[${Overclocked Manastone}].IsReady}
		Me.Inventory[${Overclocked Manastone}]:Use

}
You can change the Power and Health values as needed
 

Kannkor

Ogre
Code:
	if ${Me.Power}<10 && ${Me.ToActor.Health}>60 && ${Me.Inventory[${Overclocked Manastone}](exists)} && ${Me.Inventory[${Overclocked Manastone}].IsReady}
		Me.Inventory[${Overclocked Manastone}]:Use
Because ${Overclocked Manastone} is incorrect. Pretty sure you can't have a variable with a space in it.

Replace all ${Overclocked Manastone} with Overclocked Manastone
and it should work fine.
 

mamrono

Active Member
So like this?


function RefreshPower()
{

call Shard 60
if ${Me.Power}<10 && ${Me.ToActor.Health}>60 && ${Me.Inventory[ Overclocked Manastone ](exists)} && ${Me.Inventory[ Overclocked Manastone ].IsReady}
Me.Inventory[ Overclocked Manastone ]:Use

}
 

Kannkor

Ogre
So like this?


function RefreshPower()
{

call Shard 60
if ${Me.Power}<10 && ${Me.ToActor.Health}>60 && ${Me.Inventory[ Overclocked Manastone ](exists)} && ${Me.Inventory[ Overclocked Manastone ].IsReady}
Me.Inventory[ Overclocked Manastone ]:Use

}
Get rid of the spaces..
Me.Inventory[ Overclocked Manastone ]:Use
becomes
Me.Inventory[Overclocked Manastone]:Use
Same with the other one (I'm not sure if the spaces matter at all, but it shouldn't have them)
 
Top Bottom