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-nmm7 (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-nmm7 (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-nmm7 (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
avoid interrupt of casting
Author Message
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #4
RE: avoid interrupt of casting
(09-28-2014 11:51 PM)dagger4k Wrote:  Do you want to make it when you cast on yourself? If So there is this function in the sphereini
Code:
// MAGICF_CANHARMSELF         0008 // Magic can do damage on self

other than that you need to work on the spell flags for each spell
spellflag_harm
spellflag_targ_noself
spellflag_targ_char
spellflag_targ_xyz

If you wanted to you could build some function over the top of spellflag harm but... that would open up a massive bag of worms =[ I suggest going through and just looking at the spellflag_harm and the spells you want this on.

If it was just for some fizzle spells / stat loss you could just remove the spellflag_harm from the select few.

Hmm, i just want to make no casting break when character got damage Smile

(09-28-2014 11:51 PM)Rizz Wrote:  Find --> replace

INTERRUPT=0.0,0.0

average time to replace all 0.5 seconds

I thought so, but still, topic is about some more practical solution. What if i want to make interrupt for some cases and for some cases no interrupt?
09-29-2014 12:07 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
avoid interrupt of casting - Art - 09-28-2014, 10:40 PM
RE: avoid interrupt of casting - dagger4k - 09-28-2014, 11:51 PM
RE: avoid interrupt of casting - Rizz - 09-28-2014, 11:51 PM
RE: avoid interrupt of casting - Art - 09-29-2014 12:07 AM
RE: avoid interrupt of casting - Rizz - 09-29-2014, 12:32 AM
RE: avoid interrupt of casting - Art - 09-29-2014, 05:22 AM
RE: avoid interrupt of casting - Coruja - 09-29-2014, 05:40 AM
RE: avoid interrupt of casting - Art - 09-29-2014, 07:15 AM
RE: avoid interrupt of casting - Extreme - 09-29-2014, 07:22 AM

Forum Jump:


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