• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

CreatureEvent Increase player damage on rebirth!

Erikas Kontenis

Board Moderator
Staff member
Board Moderator
Joined
Jul 3, 2009
Messages
1,893
Reaction score
618
Location
Lithuania
You will need to source install this new function, here link: http://otland.net/f35/increase-player-damage-177331/

LUA:
local multiplier = 1 

function onLogin(cid)
         if getPlayerRebirths(cid) >= 1 then -- or just storageID where you store rebirths
            doPlayerSetExtraMagicDamage(cid, multiplier+(getPlayerRebirths(cid)/2))
         end 
         return true
end

should work like angel.
 
Back
Top