• 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!

Solved Mana & Hp

MapperBoy

Member
Joined
Jul 11, 2014
Messages
65
Reaction score
8
Hey Guys I want Help !!


I Need A Script For Manarune Only Who Use (Druid,Sorc)

And I Need A Script For Hp Only Who Use (Ek)

And Need Too A Script For Hp+Mana For Pally Only Who Use (Pally)

Please I Hope You Guys Help Me :(
 
How to create a ManaRune - Otland.

PHP:
<rune name="Mana Rune" id="2270" allowfaruse="0" charges="1" lvl="27" maglv="10" exhaustion="2000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/mana rune.lua">
<vocation id="5" showInDescription="0"/>
< vocation id="6" showInDescription="0"/>
< vocation id="7" showInDescription="0"/>
< vocation id="1"/>
< vocation id="2"/>
< vocation id="3"/>
< /rune>

ADD or Remove
< vocation id="1"/> Sorcerer
< vocation id="2"/> Druid
< vocation id="3"/> Paladin
< vocation id="4"/> Knight
 
@MapperBoy

Other solution: Data/Actions/Fluids/Potions.lua

({4, 8} VocationID
PHP:
if(not isInArray({4, 8}, player:getVocation():getId()) or player:getLevel() < 80) and not(player:getGroup():getId()

Increase Healing Potion? And change it - COMBAT_HEALING, 650, 850
PHP:
if not doTargetCombatHealth(0, player, COMBAT_HEALING, 650, 850, CONST_ME_MAGIC_BLUE) then
 
How to create a ManaRune - Otland.

PHP:
<rune name="Mana Rune" id="2270" allowfaruse="0" charges="1" lvl="27" maglv="10" exhaustion="2000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/mana rune.lua">
<vocation id="5" showInDescription="0"/>
< vocation id="6" showInDescription="0"/>
< vocation id="7" showInDescription="0"/>
< vocation id="1"/>
< vocation id="2"/>
< vocation id="3"/>
< /rune>

ADD or Remove
< vocation id="1"/> Sorcerer
< vocation id="2"/> Druid
< vocation id="3"/> Paladin
< vocation id="4"/> Knight

Where Should I Put It??
 
Back
Top