SphereCommunity
Monster Cast Delay - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Monster Cast Delay (/Thread-Monster-Cast-Delay)



Monster Cast Delay - YoAmoElUO - 03-29-2017 08:29 PM

Hi guys, again me...

I'm seeing all the monster in the new sphere version and i found all monster who cast do all too fast.

What can i do to make the monsters have the same time than the players ?

I don't know if i have to put the script of some monster who cast or what... let me know and i will put that.

Please, help. Thanks


RE: Monster Cast Delay - darksun84 - 03-29-2017 10:20 PM

In Sphere_spells.scp there is the cast time for each spell


RE: Monster Cast Delay - darksun84 - 03-30-2017 06:25 PM

Ops i closed for error


RE: Monster Cast Delay - UltimaGo - 03-31-2017 12:57 AM

The delay cast in the sphere_spells its the same for monsters?

or just for players?


RE: Monster Cast Delay - darksun84 - 03-31-2017 01:26 AM

It's both for players and monsters.


RE: Monster Cast Delay - YoAmoElUO - 03-31-2017 04:25 AM

Players have delay... but monster is instant cast every spell all the time... that is what i need to fix.

Thanks for open again darksun ^^


RE: Monster Cast Delay - UltimaGo - 03-31-2017 04:28 AM

(03-31-2017 04:25 AM)YoAmoElUO Wrote:  Players have delay... but monster is instant cast every spell all the time... that is what i need to fix.

Thanks for open again darksun ^^

Maybe you need to set up the casting delay in the npc script?


RE: Monster Cast Delay - darksun84 - 03-31-2017 04:37 AM

(03-31-2017 04:25 AM)YoAmoElUO Wrote:  Players have delay... but monster is instant cast every spell all the time... that is what i need to fix.

Thanks for open again darksun ^^

Make sure you don't have any events that overrides the NPC's casting speed.
By default the casting time of a spell is used by both NPCs and players.

Code:
[SPELL 5]
DEFNAME=s_magic_arrow
NAME=Magic Arrow
SOUND=snd_spell_magic_arrow
CAST_TIME=50 //Spell will be cast after 5 seconds.
RUNES=IPY
RESOURCES=i_reag_sulfur_ash
RUNE_ITEM=i_rune_magic_arrow
SCROLL_ITEM=i_scroll_magic_arrow
FLAGS=spellflag_dir_anim|spellflag_targ_item|spellflag_targ_char|spellflag_harm|​spellflag_damage|spellflag_fx_bolt|spellflag_resist
EFFECT_ID=i_fx_fireball_small
EFFECT=5,15
DURATION=0.0
MANAUSE=4
SKILLREQ=MAGERY 10.0
INTERRUPT=100.0,100.0
ON=@Effect
   LOCAL.DAMAGETYPE=(<DEF.dam_physical>|<DEF.dam_magic>)



RE: Monster Cast Delay - Sum - 04-06-2017 07:20 AM

YoAmo , did you ever get this fixed? I'm having the same issues and my players are getting owned lol. The NPCS are hitting with spell combos and doing 150 damage in like 2 seconds. Changing the cast time did not work at all for the NPC's.