• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

runeSpellaname

Tropix

Like a BAuZZ
Joined
Jan 6, 2009
Messages
116
Reaction score
4
Hey, i need help with this,
i wonder how i can fix like if i look on the rune it saying

you see a manarune
----------------------
but you can i fix so it look like this

You see a manarune
it can only be used by ?? level or higher.
It weighs ??.?? oz
 
Try using this only to test it.

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 7)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 220, 0, 370)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

Code:
        <rune name="Ultimate Manarune" id="2270" allowfaruse="1" charges="1" lvl="200" maglv="30" exhaustion="800" aggressive="1" needtarget="1" blocktype="solid" script="ultimate manarune.lua"/>

Code:
    <item id="2270" article="an" name="ultimate mana rune">
        <attribute key="weight" value="10" />
    </item>

Copy it exactly as above.
 
22:28 You see an ultimate mana rune.
It weighs 0.10 oz.
ItemID: [2270].
Position: [X: 998] [Y: 997] [Z: 7]. <. Doesn't work

- - - Updated - - -

BUMP
 
You need:
XML:
		<attribute key="type" value="rune"/>
In the items.xml entry..

Spellname is not needed if it does not have one.
 
In 0.3.6 it is checked if the item has the attribute "FLAG_CLIENTCHARGES".
2270 got that flag.

Also, the rune needs a level or magic level or vocation requirement to show a message. So I do not see why it should not be working.
As you can see in customspells.xml (mod) it is set like this:
<rune name="Polymorph" id="2270" charges="1" maglv="20" exhaustion="2000" blocktype="solid" allowfaruse="1" event="script" value="customspells/polymorph.lua"/>
 
mhhh, okay I removed customspells.xml :P, and i add everything right in spells.xml and items.xml

- - - Updated - - -

Who can solved this problem? :P, I really need help with this. I can pay to who solved this to :), Game on Steam or other stuffs

- - - Updated - - -

Solved ;)))))))))) 15:29 You see 98 manarunes ("manarune").
They can only be used with level 8 and magic level 30 or higher.
They weigh 9.80 oz.
ItemID: [2270].
Position: [X: 998] [Y: 998] [Z: 7]. yeaaaaahh
 
Last edited:
Back
Top