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

Magic wall and wild growth

Spo teh pro

New Member
Joined
Jan 3, 2008
Messages
319
Reaction score
1
Does anyone know why I get PZ-lock when I use a magic wall rune or a wild growth rune?!

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1498)

function onCastSpell(cid, var)
    if isPlayer(cid) == TRUE then
        if exhaustion.check(cid, 30030) then
            return FALSE
        else
            return doRemoveCondition(cid, CONDITION_HASTE), doCombat(cid, combat, var)
        end
    else
        return doRemoveCondition(cid, CONDITION_HASTE), doCombat(cid, combat, var)
    end
end

Here's the script from magic wall

//edit

Yes, I'm stupid and I posted wrong board omg :|

I thought I was in Requets & Support !!aewwwz
 
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499)
[COLOR="Red"]setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)[/COLOR]

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


add to both, +rep
 
Its made like that in RL, when you use a mwall, you get PZ.
No idea how to fix it :S

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499)
[COLOR="Red"]setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)[/COLOR]

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


add to both, +rep

/short
 
;o
I quited rl tibia like 8.1 because it became sucky xD
Though never seen it on OTs before
Anyway I'll make it oldschool at my server =D
 
When you shoot a magic wall it is aggressive as in, you will gain regular battle swords, At least that is how it works on real tibia, however on 0.3.6pl1 you gain red battle signs(pzlock)., I don't know why, just thought I would clear that up.
 
Back
Top