EFMods Forum Archive
[Click here to go to EFMods.com]

[Submit]MageRobe

EFMods Forum Archive - Old Stuff
Vanhal
is going to kill you!!!

Posts: 10496
Join Date: 01-12-2001
Posted at 9:51 pm, 12th April 2002
[code:1:cca2adf25c]//################################################################################
//## ##
//## KK KK SSSSS III ##
//## KK KK SS III ##
//## KKKK SSSSS III ##
//## KK KK SS III ##
//## KK KK SSSSS III ##
//## SCRIPTING ##
//## http://www.efmods.com/~ksi/ ##
//## ##
//## Vanhal(TDS:Fredrick 069912) ##
//## vanhal@eircom.net ##
//## ICQ:64579156 ##
//## ##
//################################################################################
//A +5 to magery robe that changes colour

[ITEMDEF i_magerobe]
name=Mage Robe +5
id=01f04
type=t_eq_script

ON=@Create
attr=021
color=01
more=01
HITPOINTS={30 40}

On=@Equip
src.magery=<src.magery>+50
timer=3
return 0

On=@Unequip
src.magery=<src.magery>+(-50)
timer=0
return 0

on=@timer
if <more><=02d2
color=<more>
more=<more>+1
timer=3
return 1
else
more=01
color=01
timer=3
return 1
endif

[EOF][/code:1:cca2adf25c]

Last edited by Vanhal on 31 Feb 2003 25:71, edited 9385 times in total