Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
attr_can_decay help
|
Author |
Message |
Osi
Apprentice
Posts: 4
Likes Given: 4
Likes Received: 0 in 0 posts
Joined: Jan 2015
Reputation: 0
|
attr_can_decay help
[ITEMDEF i_test2]
NAME=Super Duper Wand of Fire and Brimstone !turbo!
ID=i_wand_1
TYPE=t_wand
RESOURCES=i_wand,10 i_scroll_flamestrike
ERROR:(test.scp,359)Undefined symbol 'i_wand'
ERROR:(test.scp,359)Bad resource list id 'i_wand,10 i_scroll_flamestrike' ??
RESOURCES=i_wand_1,10 i_scroll_flamestrike what I did and why its working ?
ON=@Create
ATTR=attr_magic
MOREX=s_flamestrike
MOREY=50.0
MORE2=10
Code:
on=@Timer
ATTR=attr_can_decay 10 (10 sec?)
IF (<@equip <src.timer <= 0> remove.src.i_test2>)
&&
Code:
ON=@Create
ATTR=attr_magic|attr_decay
MOREX=s_flamestrike
MOREY=50.0
MORE2=10
timer 100
on=@equip
timer 10
on=@timer
RETURN 1
(This post was last modified: 02-10-2015 08:58 AM by Osi.)
|
|
02-09-2015 10:05 PM |
|
|
User(s) browsing this thread: 2 Guest(s)