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

Need 3 Request done

Shax

New Member
Joined
Jan 19, 2009
Messages
26
Reaction score
1
Ok, well i dunno if i posted this in right place or if prefix is right but
what i do kno is wat i want help with haha

1. I want a script that has like a % chance to refuse death to what ever lvl u r, as of now i dunno if ima make high exp server or low so i cant say how much percent added per level,

2. I want a axe to cast Exori when hit or sword or both,

3. I want armors to turn u into differ monsters when u put them on, but u can just change outfit and be a reg player, then if u feel the need to become a monster again, just take armor off and put it on.

Im very sorry that i am noob at this stuff haha, but i am learning fast as I can, till then i hope i dont bother you guys to much, and thanx for the help

And Im srry this is the 2nd time ive posted this thread, maybe it is better suited here than the last place i put it >.<
 
Here's #1 :)

Lua:
local minChance = 1 --% chance
local maxChance = 5 --% chance
local levelRequired = 100 --required level

function onStatsChange(cid, attacker, type, combat, value)
	if isPlayer(cid) then
		if value >= getCreatureHealth(cid) then
			if getPlayerLevel(cid) >= levelRequired then
				if math.random(1,100) <= math.random(minChance, maxChance) then
					doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
					return false
				end
			end
		end
	end
	
	return true
end
 
Bump
>.< need some assistance
and thank you Icy, i havent tryed it yet but i will after i get everything rdy
 
Back
Top