wats wrong with this
obj/weapon/Dagger
icon = 'swords.dmi'
icon_state = "dagger"
name = "Rapier"
Money = 1
power = 1
desc = "Dagger-"
desc1 = "Weapon Power = 1"
desc3 = "Selling Cost = 1"
Click()
if(usr.wep == src.name)
usr << "Your already have somthing Equiped!"
return
if(usr.wep == null)
if(istype(usr, /mob/characters/wizard))
alert("your class cant Equip that!")
else
usr.mindamage+=power
usr.maxdamage+=power
view(6) << "[usr] Equips his [src]."
usr.wep = src.name
usr.equiped = 1
suffix += "Equiped"
else
if(usr.wep == null)
usr << "You got nothing equiped."
if(usr.wep == src.name)
usr.wep = null
usr.mindamage-=power
usr.maxdamage-=power
suffix = null
usr.equiped = 0
- Rae!?
ID:178919
Mar 19 2002, 1:55 pm
|
|
Mar 19 2002, 1:58 pm
|
|
What does it say is wrong with it? What error did you get? How do you know something is wrong?
|
In response to Foomer
|
|
ok, it wont let me unequip the weapon, and
Your already have somthing Equiped! everytime i click it. i need somthing thats goona work, i think this is shot. |
RaeKwon wrote:
wats wrong with this obj/weapon/Dagger What's wrong with a rapier being represented as a dagger? Millions of things. =) |
In response to Spuzzum
|
|
Lol.. i know, i just need this fixed :(
|