[itemdef i_amul_mana] id=4232 name=Amulet of mana TYPE=t_jewelry on=@create color=00920 attr 0026 ON=@Equip if !<link.ischar> name=<src.name>'s <typedef.name> link=<src.uid> sfx=01ff elif <link>!=<src.uid> src.sysmessage This is not yours! unequip link.bounce <uid> endif timer=1 ON=@UNequip timer=-1 ON=@TIMER ti mer 1 IF !(<link.mana>==<link.int>) link.mana <link.mana> + {1 5} endif if <link.mana> > <link.int> link.mana = <link.int> endif return 1 [itemdef i_amul_hits] id=4232 name=Amulet of hits TYPE=t_jewelry on=@create color=00446 attr 0026 ON=@Equip if !<link.ischar> name=<src.name>'s <typedef.name> link=<src.uid> sfx=01ff elif <link>!=<src.uid> src.sysmessage This is not yours! unequip link.bounce <uid> endif timer=1 ON=@UNequip timer=-1 ON=@TIMER ti mer 1 IF !(<cont.hits>==<cont.str>) cont.hits <cont.hits> + {1 5} endif if <cont.hits> > <cont.str> cont.hits = <cont.str> endif return 1 [itemdef i_amul_stam] id=4232 name=Amulet of stamina TYPE=t_jewelry on=@create color=0055c attr 0026 ON=@Equip if !<link.ischar> name=<src.name>'s <typedef.name> link=<src.uid> sfx=01ff elif <link>!=<src.uid> src.sysmessage This is not yours! unequip link.bounce <uid> endif timer=1 ON=@UNequip timer=-1 ON=@TIMER ti mer 1 IF !(<cont.stam>==<cont.dex>) cont.stam <cont.stam> + {1 5} endif if <cont.stam> > <cont.dex> cont.stam = <cont.dex> endif return 1 |