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
Poison Spell!
Author Message
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Poison Spell!
Here is the original spell from sphere_spells.scp

Code:
[Spell 20]
// NOTE: Does poison need a duration or are they stuck with it until cured ??
DEFNAME=s_poison
NAME=Poison
SOUND=snd_SPELL_POISON
RUNES=IN
CAST_TIME=3.0
RESOURCES=i_reag_nightshade
RUNE_ITEM=i_rune_POISON
SCROLL_ITEM=i_scroll_POISON
FLAGS=SPELLFLAG_TARG_CHAR | SPELLFLAG_DIR_ANIM | SPELLFLAG_HARM | SPELLFLAG_FX_TARG| SPELLFLAG_RESIST
EFFECT_ID=i_fx_curse
EFFECT=0    // 100,750
DURATION=1.0,15.0
MANAUSE=9
SKILLREQ=MAGERY 30.0
INTERRUPT=100.0,100.0

Here is a page in the wiki about @SpellEffect: http://wiki.sphere.torfo.org/index.php/@SpellEffect

From here it's a short hop to looking at the magery, eval int & poisoning skill of the person who cast the spell and changing the damage accordingly.

I guarantee that if someone writes this script for you that the end result, while it may work, will not change the damage done exactly as you want.

[Image: 2nis46r.jpg]
09-25-2012 03:39 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Poison Spell! - Lazarus - 09-25-2012, 01:47 AM
RE: Poison Spell! - Extreme - 09-25-2012, 03:05 AM
RE: Poison Spell! - Lazarus - 09-25-2012, 04:47 AM
RE: Poison Spell! - Mordaunt - 09-25-2012 03:39 AM
RE: Poison Spell! - Extreme - 09-25-2012, 08:02 AM
RE: Poison Spell! - Lazarus - 09-25-2012, 08:56 AM
RE: Poison Spell! - Skul - 09-25-2012, 09:01 AM
RE: Poison Spell! - Lazarus - 09-25-2012, 09:35 AM
RE: Poison Spell! - RanXerox - 09-25-2012, 09:31 AM
RE: Poison Spell! - Skul - 09-25-2012, 10:24 AM

Forum Jump:


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