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

Pokemon Moves 1,2,3

andii95

New Member
Joined
Aug 21, 2009
Messages
413
Reaction score
2
Location
Sweden
Does anyone have any scripts for atleast move1? So when you say m1 it the pokemon will do for example scratch.

Thanks in advance and rep++ for the one that helps me.
 
data/spells/scripts/scratch.lua

LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 61)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.2, 0, -0.4, 0)

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


data/spells/spells.xml

XML:
<instant name="Scratch" words="m1" lvl="1" mana="5" direction="1" exhaustion="2000" needlearn="0" event="script" value="scratch.lua">
		<vocation id="1"/>
 
Back
Top