No to ?apcie :
Do Mega Magic Prison
data/spells/scripts i robimy mega magic prison.lua a w nim
teraz wklejamy do data/spells/spells.xml
Super Magic Prison
data/spells/scripts i robimy super magic prison.lua a w nim
teraz wklejamy do data/spells/spells.xml
Screen :
Do Mega Magic Prison
data/spells/scripts i robimy mega magic prison.lua a w nim
Kod:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1498)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Kod:
<rune name="Mega Magic Prison" id="2272" charges="1" lvl="10" maglv="5" mana="0" soul="0" exhaustion="1" prem="0" enabled="1" allowfaruse="1" script="mega magic prison.lua"></rune>
data/spells/scripts i robimy super magic prison.lua a w nim
Kod:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499)
local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Kod:
<rune name="Super Magic Prison" id="2296" charges="1" lvl="10" maglv="5" mana="0" soul="0" exhaustion="1" prem="0" enabled="1" allowfaruse="1" script="super magic prison.lua"></rune>
