The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Monster Cast Delay
Author Message
YoAmoElUO
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #1
Monster Cast Delay
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
03-29-2017 08:29 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Monster Cast Delay
In Sphere_spells.scp there is the cast time for each spell
03-29-2017 10:20 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Monster Cast Delay
Ops i closed for error
03-30-2017 06:25 PM
Find all posts by this user Like Post Quote this message in a reply
UltimaGo
Apprentice
*

Posts: 22
Likes Given: 5
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #4
RE: Monster Cast Delay
The delay cast in the sphere_spells its the same for monsters?

or just for players?
03-31-2017 12:57 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Monster Cast Delay
It's both for players and monsters.
03-31-2017 01:26 AM
Find all posts by this user Like Post Quote this message in a reply
YoAmoElUO
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #6
RE: Monster Cast Delay
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 ^^
03-31-2017 04:25 AM
Find all posts by this user Like Post Quote this message in a reply
UltimaGo
Apprentice
*

Posts: 22
Likes Given: 5
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #7
RE: Monster Cast Delay
(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?
03-31-2017 04:28 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #8
RE: Monster Cast Delay
(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>)
03-31-2017 04:37 AM
Find all posts by this user Like Post Quote this message in a reply
Sum
Apprentice
*

Posts: 40
Likes Given: 32
Likes Received: 5 in 4 posts
Joined: Feb 2016
Reputation: 0



Post: #9
RE: Monster Cast Delay
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.
04-06-2017 07:20 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)