ID:268457
Aug 6 2004, 10:16 am
|
|
How do i create items that have special attacks and when the weapon is equipped, a verb comes up with the special attack verb in it..How do i do that?
|
Copyright © 2025 BYOND Software.
All rights reserved.
<code>obj/equipment stick_of_flaming proc/Flame(mob/M as mob in view(src, 5)) set src in usr.contents // flame M proc/Equip() // equip it src.verbs += obj/equipment/stick_of_flaming/proc/Flame proc/Remove() // remove it src.verbs -= obj/equipment/stick_of_flaming/proc/Flame </code>
Something like that should work.