Problem is I don't know how to write it into the database.
Copying what I have for spirit herb essence:
Code: Select all
<skill name="ALL_ELEMENTAL_SPIRIT_STONE_ESSENCE" aslevel="51" casttime="3" type="heal" target="self" inbattle="false"/>
Code: Select all
<skill name="ALL_ELEMENTAL_SPIRIT_STONE_ESSENCE" aslevel="51" casttime="3" type="heal" target="self" inbattle="false"/>
lisa wrote:This is the skill set you get from dalanis mem items?
restores around 1500 mana from memory?
Simplest solution I have right now is to just do an onskillcast check on mana and use it as required by just using a hotkey for it and a keypress.
Or perhaps do a check for when you use bubble and also cast this skill using a keypress after the bubble or would you only use bubble to be able to use the mana skill?
Code: Select all
<onSkillCast><![CDATA[
if( arg1.Name == "SKILL_NAME_GOES_HERE" ) then
if( player.Mana < 1234 ) then
keyboardPress(key.VK_5); -- Use the item
end
end
]]></onSkillCast>