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

Polymorph rune/spell

bury

Active Member
Joined
Jul 27, 2008
Messages
421
Solutions
7
Reaction score
25
Hello, I want to create a kinda "easy" polymorph script from this one:

LUA:
local combat, area = createCombatObject(), createCombatArea(AREA_SQUARE1X1)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatArea(combat, area)

local condition = createConditionObject(CONDITION_OUTFIT)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
for i = 230, 247 do
	addOutfitCondition(condition, {lookTypeEx = i})
end

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

I searched it in another post but that scripts didnt work for me.

That script change your outfit to a strange orange square, and I want it to transform target in a "sheep" for 2 seconds.

In that 2 seconds the player is also paralyzed and muted (so that they cant remove his paralyze).

This spell or rune (I dont mind one thing or the other) would make a huge mana waste (around 2k or 3k) and start an exhausted of two minutes (but only this spell would have that exhausted, the others not)

And in that 2 seconds the sheep says:

LUA:
	<voice sentence="Maeh"/>
	</voices>

That script is used like a rune:
XML:
<rune name="Polymorph" id="2270" charges="1" maglv="20" exhaustion="2000" blocktype="solid" allowfaruse="1" event="script" value="customspells/polymorph.lua" />

I would like to change the area afected to only affect in the target. Now it's affecting 6 SQM. And btw, anybody know what is ¿ "blocktype="solid" ?

Thanks you!!
 
I downloaded from Otland when I was premium: The Forgotten Server Version: 0.4.3777.19 - Codenamed: (Completed)


- - - Updated - - -

any idea??
 

Similar threads

Back
Top