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:
  • 1 Votes - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Magic does not damage anyone
Author Message
Russian
Journeyman
*

Posts: 75
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 0



Post: #1
Magic does not damage anyone
Hello.
I am set latest release of Sphere server.
Now magic does not damage anyone.

In what may be the problem, what settings to change, to provide?
12-28-2012 05:09 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #2
RE: Magic does not damage anyone

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
12-28-2012 05:19 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Russian
Journeyman
*

Posts: 75
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 0



Post: #3
RE: Magic does not damage anyone
Code:
[SPELL 51]
DEFNAME=s_flamestrike
NAME=Flame strike
SOUND=SND_SPELL_FLAMESTRIKE
RUNES=KVF
CAST_TIME=56
RESOURCES=I_REAG_SPIDER_SILK,I_REAG_SULFUR_ASH
RUNE_ITEM=I_RUNE_FLAMESTRIKE
SCROLL_ITEM=I_SCROLL_FLAMESTRIKE
FLAGS=SPELLFLAG_TARG_CHAR| SPELLFLAG_FX_TARG| SPELLFLAG_RESIST | SPELLFLAG_DAMAGE
EFFECT_ID=03709
EFFECT=95,115
DURATION=0.0
MANAUSE=60
SKILLREQ=MAGERY 70.0
INTERRUPT=100.0,100.0

ERROR:(Sphere spells.scp,914)Undefined symbol 'SPELLFLAG_DAMAGE'

What is wrong? :{
(This post was last modified: 12-28-2012 05:46 AM by Russian.)
12-28-2012 05:37 AM
Find all posts by this user Like Post Quote this message in a reply
Jaguar
Apprentice
*

Posts: 46
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2010
Reputation: 0

Sphere Community Pack

Post: #4
RE: Magic does not damage anyone
From Lates SCP:
Code:
[Spell 51]
DEFNAME=s_flamestrike
NAME=Flamestrike
SOUND=snd_spell_flamestrike
RUNES=KVF
CAST_TIME=2.0
RESOURCES=i_reag_spider_silk,i_reag_sulfur_ash
RUNE_ITEM=i_rune_flamestrike
SCROLL_ITEM=i_scroll_flamestrike
FLAGS=spellflag_dir_anim|spellflag_targ_obj|spellflag_harm|spellflag_fx_targ|spe​llflag_targ_noself
EFFECT_ID=i_fire_column
EFFECT=25,50
DURATION=0.0
MANAUSE=40
SKILLREQ=MAGERY 70.0
INTERRUPT=100.0,100.0

Download:

[Image: logo.gif]
12-28-2012 05:51 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Oxtar
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0



Post: #5
RE: Magic does not damage anyone
I don't remember who gave me this.

Code:
on=@spelleffect
if (<serv.spell.<argn1>.defname>==s_heal) || (<serv.spell.<argn1>.defname>==s_greater_heal)
  if !(<tag0.tmp_heal>)
    tag.tmp_heal=1
    serv.spell.<argn1>.effect += <eval <eval <serv.spell.<argn1>.effect> *<tag0.bonus_heal>> /100> //assuming tag.bonus_heal if your 20% value (20)
    spelleffect <argn1> <argn2> <src.uid> //resend the heal spell with the new effect added
    serv.spell.<argn1>.effect -= <eval <eval <serv.spell.<argn1>.effect> *<tag0.bonus_heal>> /100> //remove the bonus resetting the effect
    tag.tmp_heal=
  endif
endif

Code:
on=@spelleffect
if ( <serv.spell.<argn1>.flags> & spellflag_damage )
  tag.spell_argn=<argn1>
  tag.spell_strength=<argn2>
endif

And you need to set the spellflag_damage
(This post was last modified: 12-30-2012 01:45 AM by Oxtar.)
12-30-2012 01:43 AM
Find all posts by this user Like Post Quote this message in a reply
Onirim
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0

UO: Rebellion

Post: #6
RE: Magic does not damage anyone
Where we must put this lines ?
And how setting the spellflag_damage ?
It's not an easy to understand script ^^
01-01-2013 08:15 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Jaguar
Apprentice
*

Posts: 46
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2010
Reputation: 0

Sphere Community Pack

Post: #7
RE: Magic does not damage anyone
Just read my previous post

[Image: logo.gif]
01-02-2013 12:26 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Onirim
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0

UO: Rebellion

Post: #8
RE: Magic does not damage anyone
I already have the latest SCP magery.scp, and latest SphereServer :/
I don't find where download latest trunk, the download link is outdated. So maybe I need another file from this latest trunk...
01-02-2013 01:18 AM
Visit this user's website 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: #9
RE: Magic does not damage anyone
25-07-2012, ShiryuX
- Updated: sphere_spells.scp, sphere_defs.scp with the new spells changes
01-02-2013 02:49 AM
Find all posts by this user Like Post Quote this message in a reply
Onirim
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0

UO: Rebellion

Post: #10
RE: Magic does not damage anyone
Damn... I've the latest Sphere_spells_magery.scp and the latest sphere_defs.scp
I'm on UO:R combat system, and I've no damage on spells, and no error messages in the console.
What is the problem with that ? Actually for a new shard, the magic system of Sphere don't work :/
And no SCP to download...

Please, I have no solutions, I've tried to take newers scripts, to add Oxtar's scripts, and this doesn't work at all.
I'm okay to DL all the new SCP trunk, but I CAN'T !
Downloading some random scripts isn't usefull...
(This post was last modified: 01-02-2013 04:10 AM by Onirim.)
01-02-2013 03:11 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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