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

Lua NPC change formulas

VirrageS

←•†ĿuĀ && ©¤¤•→
Joined
May 30, 2010
Messages
984
Reaction score
63
Location
Poland
Hello

How in title I want to ask that is possibly to make NPC which will change formulas like for level, damage etc. (not rates!!)

If it's to do can someone show me code how it looks like??




EDIT: I have another question beside the point. When I change
Code:
skill fist="[COLOR="red"]1.1[/COLOR]"
or
Code:
magHealingDamage="[COLOR="red"]1.0[/COLOR]"
for higer numbers then skill fist will be advance faster and healing damage will be higer??

Thanks in advance :thumbup:
 
Last edited:
For just that person?

Use this lua function for skills:

Lua:
doPlayerSetRate(cid, type, value)

this for exp:
Lua:
doPlayerSetExtraExpRate(cid, value)

If you want to update the vocations.xml for just one person, I dont think it's possible in lua.
 
Back
Top