by puffpuff21 on Wed Jun 29, 2005 11:09 am
here is what i got so far need a little help
[####]
// 1v1 arena stone
ID=0ed4
NAME=5k Duel Stone
COLOR=0999
ATTR=010
TYPE=38
MORE1=0
ONTRIGGER=TIMER
if <more2>>0
timer= 1
more2=(<more2>+-1)
say <valstr <more2>> U Win 10k ...
return 1
else
say The arena is now open for new challengers...
TIMER=-1
RETURN 1
ONTRIGGER=DCLICK
IF (<SRC.PLEVEL>>1)&&(<SRC.PLEVEL> < 6)
SRC.MESSAGE=Staff cannot use this, fix it the right way
RETURN 1
ENDIF
IF (<SRC.FLAGS>&080000000)
SRC.MESSAGE=You cannot use this mounted
RETURN 1
ENDIF
IF (<SRC.FLAGS>&0400)
SRC.MESSAGE=You cannot use that out of your natural form
RETURN 1
ENDIF
IF <SRC.RESTEST 5000 GOLD>
SRC.CONSUME=5000 GOLD
morep=<src.p>
var.y=<morey>
morep=<p>
if (<var.y> < <morey>) // player is standing north of the stone
if (<more1>==0)
more1=1
src.go <p>
src.move 0 1 0
return 1
endif
src.newitem=10000
SRC.ACT.AMOUNT=1
SRC.ACT.BOUNCE
if (<more1>==1)
IF <SRC.RESTEST 5000 GOLD>
SRC.CONSUME=5000 GOLD
if (<more2>==0)
more1=2
src.go <p>
src.move 0 1 0
return 1
endif
endif
else
if (<more1> < 2)
more1=0
src.go <p>
src.move 0 -1 0
return 1
endif
if (<more1>==2)
if (<src.hits>==0)
more1=1
timer=1
more2=a
src.go 10,10,10
src.resurrect
src.go #### // edit this
say The Killer now has 10 seconds to leave the arena...
return 1
endif
endif
endif
return 1