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

[Request lua function]doAddDamagePercent(cid,type,percent)

Kemix

New Member
Joined
Jul 28, 2008
Messages
5
Reaction score
0
Can someone make this functions to me?
doAddDamagePercent(cid,type,percent)
doRemmoveDamagePercent(cid,type,percent)
setDamagePercent(cid,type,percent)
{cid,target}
{type=[magic or physical]
or
type=[fire,earth,ice,energy,death,etc]}
{percent=%}

i will like very much and it will be a great script
thx
=)
 
PHP:
CONDITION_PARAM_SKILL_MELEEPERCENT
This is condition
but not work when you relogin
PHP:
local condition = createConditionObject(CONDITION_ATTRIBUTES)
	setConditionParam(condition, CONDITION_PARAM_TICKS, -1)
	setConditionParam(condition, CONDITION_PARAM_SKILL_MELEEPERCENt, 40)
doAddCondition(cid, condition)
And
PHP:
doPlayerRemoveConditions(cid, true/false)
 
PHP:
CONDITION_PARAM_SKILL_MELEEPERCENT
This is condition
but not work when you relogin
PHP:
local condition = createConditionObject(CONDITION_ATTRIBUTES)
	setConditionParam(condition, CONDITION_PARAM_TICKS, -1)
	setConditionParam(condition, CONDITION_PARAM_SKILL_MELEEPERCENt, 40)
doAddCondition(cid, condition)
And
PHP:
doPlayerRemoveConditions(cid, true/false)

These condition is for increase melee percent, and work with skills, not for standart damage value
 
Back
Top