• 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 a little help with unlimited ammo and GM clothes

riyyi

New Member
Joined
Jan 1, 2010
Messages
1
Reaction score
0
Hi i'm Riyyi and my server is for Tibia 7.6, Neverland 4.2 if that helps.
Download link to just look a little at the files.


http://www.open-tibia.com/Files/Servers/7.6/Neverland%204.2.rar


Ok what i want is unlimited ammo
for example: arrows, bolts, and runes nothing more.
What i also want is GM clothes like a outfit that only GM's can wear.
(Gm clothes not nessesary,i do need the Unlimited ammo)

This ia a example of a Rune in my script but how to make it unlimited?

Code:
-- doTargetMagic
 -- attackType: Type of attack
 -- cid: creature id.
 -- Targetpos: Target position.
 -- animationEffect: Projectile animation.
 -- damageEffect: Effect to show when spell hits a player.
 -- animationColor: Color of the text that is shown above the player when hit.
 -- offensive: Indicates if the spell is a healing/attack spell.
 -- drawblood: Determines if the spell causes blood splash.
 -- minDmg: Minimal damage.
 -- maxDmg: Maximum damage.
 -- returns true if the spell was casted.
 
 attackType = ATTACK_PHYSICAL
 animationEffect = NM_ANI_SUDDENDEATH
 
 hitEffect = NM_ME_MORT_AREA
 damageEffect = NM_ME_DRAW_BLOOD
 animationColor = RED
 offensive = true
 drawblood = true
 
 SuddenDeathObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)
 
 function onCast(cid, creaturePos, level, maglv, var)
 centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
 
 SuddenDeathObject.minDmg = (level * 2 + maglv *3) * 1.2 - 30
 SuddenDeathObject.maxDmg = (level * 2 + maglv *3) * 1.6
 
 return doTargetMagic(cid, centerpos, SuddenDeathObject:ordered())
 end

Thx for everyones help and i don't need an script (would be cooler and more helpful) of you just say something that you know about it is enoufg <== bad spelling :P
 
Back
Top