Xaiman
New Member
- Joined
- Feb 27, 2010
- Messages
- 94
- Reaction score
- 0
This is THE most annoying thing i have tried to do.. i just cant do it, because i have no idea how the spell formula works.
I have trying to make 3 healing runes (each one heals more than the last and is for a higher level.)
heres the first one. Its nothing special just a simple healing script.
(ignore the number in there now, this is just here to show you guys what im working with)
I want the rune to be totally based on level (the higher level you get the more it heals you) i dont want magic level to effect it at all, or very very very little.
how do i achieve this? i have tried plugging in every number i can think of into the formula, but i simply CAN NOT get it. if someone could help me with this it would be great. (show me what numbers to increase and what to leave alone blah blah it would be soooo much help.
Also, is there a way to make a healing runes that are not a spell script? Can i make them like i made mana runes? ex: function on use (blah blah blah) Doaddmana (level*3) or w/e. I have tried just switching my mana runes to add health but they dont work when i do it.
Thank you
Xaiman
I have trying to make 3 healing runes (each one heals more than the last and is for a higher level.)
heres the first one. Its nothing special just a simple healing script.
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0.1, 0.1, 1, 1)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
I want the rune to be totally based on level (the higher level you get the more it heals you) i dont want magic level to effect it at all, or very very very little.
how do i achieve this? i have tried plugging in every number i can think of into the formula, but i simply CAN NOT get it. if someone could help me with this it would be great. (show me what numbers to increase and what to leave alone blah blah it would be soooo much help.
Also, is there a way to make a healing runes that are not a spell script? Can i make them like i made mana runes? ex: function on use (blah blah blah) Doaddmana (level*3) or w/e. I have tried just switching my mana runes to add health but they dont work when i do it.
Thank you
Xaiman