Santy
Member
- Joined
- Aug 14, 2007
- Messages
- 654
- Reaction score
- 22
This script adds soul points.
This script adds skills. (You can set it to any skill u want by changing the skillid)
This script adds 1-10 skills .. You can change that too
This script creates an item, any where you use it.
Example, if youre a gm, and wanna create some items, with out doing /i nor /n command, you can use this rune.
(Remember to change the id, It adds a mpa)
Speed Rune
I guess u know what it does..
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
function onCastSpell(cid, var)
doPlayerAddSoul(cid, math.random(1, 100))
return doCombat(cid, combat, var)
end
This script adds skills. (You can set it to any skill u want by changing the skillid)
This script adds 1-10 skills .. You can change that too
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
function onCastSpell(cid, var)
doPlayerAddSkillTry(cid, 3, math.random(1, 10))
return doCombat(cid, combat, var)
end
This script creates an item, any where you use it.
Example, if youre a gm, and wanna create some items, with out doing /i nor /n command, you can use this rune.
(Remember to change the id, It adds a mpa)
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
function onCastSpell(cid, var)
doPlayerAddItem(cid, 2472, 1)
return doCombat(cid, combat, var)
end
Speed Rune
I guess u know what it does..
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_HASTE)
setConditionFormula(condition, 0, 0, 20, 0)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
doCombat(cid, combat, var)
end