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

Heal and Damage

boni

New Member
Joined
Jan 3, 2010
Messages
25
Reaction score
0
Hi all
I have a little problem:
When i shoot arrows or something like this and use my mana rune i stop to shooting.
But i want that i can shoot and use the manarune at th same time.
i use the newest forgotten server version.
can someboy help me ?
:)
 
Code:
<distance id="7368" level="80" swing="false" event="function" value="default" override="yes"/> <!-- Assassin Star -->
For me works perfectly, one question... 0.3.6+? :d
 
do not work i have used this with powerpolt and i shooting, and always when i use my manarune it stop shooting :(

here my script of my manarune maby there is the mistake

PHP:
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)
	local level = getPlayerLevel(cid)
	local mlevel = getPlayerMagLevel(cid)
	local mana_minimum = (level * 4.1) + (mlevel * 1.0) - 50
	local mana_maximum = (level * 4.4) + (mlevel * 1.2)
	local mana_add = math.random(mana_minimum, mana_maximum)
	doPlayerAddMana(cid, mana_add)
    return doCombat(cid, combat, var)
end

In Spells :

PHP:
<rune name="Warrior manarune" id="2297" allowfaruse="1" charges="1" lvl="10" maglv="4" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="aaeigene/palymanarune.lua"/>
 
Back
Top