What's new

Czar daj?cy man?

Status
Not open for further replies.

Mateorixis

Advanced User
Joined
Oct 30, 2010
Messages
233
Reaction score
12
Potrzebuje tak jak w temacie czar daj?cy man? na takiej zasadzie jak "Exura Gran Mas Res" ?eby dawa?a wszystkim. Pr?bowa?em sam napisa? ten czar ale wysz?o mi co? z wielkimi b??dami a mianowicie :
Code:
local combat = createCombatObject()
local random = math.random(3000)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_TARGETPLAYERSORSUMMONS, true)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)
function onCastSpell(cid, var)
	doCreatureAddMana(cid, random)
	return doCombat(cid, combat, var)
end
I z tego co zrobi?em dawa?o man? ale tylko osobie kt?ra ten czar u?ywa?a, oraz nie dawa?a tyle co mia?a.

My?l? ?e kto? da rad? zrobi? to co chcia?em je?li takie co? jest nie mo?liwe to napiszcie...
 
Status
Not open for further replies.
Top