• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!
  • 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

Excellent OT User
Joined
Jul 3, 2009
Messages
1,935
Reaction score
680
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