dunnetott
Apprentice
Posts: 24
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Feb 2016
Reputation: 0
|
putting cooldown on scrolls
i have made a duplica of my flame strike spell like this
Code:
[Spell 51]
DEFNAME=s_flamestrike
NAME=Flame Strike
SOUND=snd_SPELL_FLAMESTRIKE
RUNES=KVF
CAST_TIME=40
RESOURCES=i_reag_spider_silk,i_reag_sulfur_ash
RUNE_ITEM=i_rune_FLAMESTRIKE
SCROLL_ITEM=i_scroll_FLAMESTRIKE
FLAGS=SPELLFLAG_TARG_OBJ|SPELLFLAG_HARM|SPELLFLAG_FX_TARG|SPELLFLAG_RESIST|SPELLFLAG_DAMAGE
EFFECT_ID=03709
EFFECT=25,50
DURATION=0.0
MANAUSE=40
SKILLREQ=MAGERY 70.0
INTERRUPT=0.0,0.0
[Spell 510]
DEFNAME=s_flamestrike_scroll
NAME=Flame Strike
SOUND=snd_SPELL_FLAMESTRIKE
RUNES=KVF
CAST_TIME=20
RESOURCES=i_reag_spider_silk,i_reag_sulfur_ash
RUNE_ITEM=i_rune_FLAMESTRIKE
SCROLL_ITEM=i_scroll_FLAMESTRIKE
FLAGS=SPELLFLAG_TARG_OBJ|SPELLFLAG_HARM|SPELLFLAG_FX_TARG|SPELLFLAG_RESIST|SPELLFLAG_DAMAGE
EFFECT_ID=03709
EFFECT=25,50
DURATION=0.0
MANAUSE=0
SKILLREQ=MAGERY 70.0
INTERRUPT=0.0,0.0
and then i made so the scroll trigger the spell s_flamestrike_scroll that has half the cast time of the original spell cast from the spellbook but i want to add a cooldown for scroll so you cant spam the scrolls.
is there away to do that?
ive been looking through the potions scripts looking for a COOLDOWN= something but didnt find anything there.
also for some reason my potions wont stack like greater healing potion.
|
|
02-18-2016 01:37 AM |
|
|