Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spells
Author Message
larmc20
Journeyman
*

Posts: 67
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2013
Reputation: 0



Post: #1
Spells
Hello Guys. I am using Sphere 56b Nightly. I started to build a shard three weeks ago.

I have configurated everything which's needed to start like gumps, nb systems, skillsmenu...but, I have some problems Issues which I am not getting it fixed.

Perhaps some of you could try to help me...

1°- Peacemaking and Tamming. I am not getting to do the Peacemaking changes the NPC red to grey. By the way, the tame skill is tamming even if the NPC is red. Well, I think I have to make some scripts to work like that ain't it?

2° -I have set on the sphere.ini "// MAGICF_CANHARMSELF = 0x0000008 // Magic can do damage on self" but it still not doing damage on my char or even on NPC. so I opened the skill file
PHP Code:
[Spell 28]
DEFNAME=s_fire_field
NAME
=Fire Field
SOUND
=snd_SPELL_FIRE_FIELD
RUNES
=IFG
CAST_TIME
=2.5//5
RESOURCES=i_reag_black_pearl,i_reag_spider_silk,i_reag_sulfur_ash
RUNE_ITEM
=i_rune_FIRE_FIELD
SCROLL_ITEM
=i_scroll_FIRE_FIELD
FLAGS
=SPELLFLAG_TARG_XYZ SPELLFLAG_HARM SPELLFLAG_FIELDSPELLFLAG_RESIST
EFFECT_ID
=0
EFFECT
=0
DURATION
=15.0,30.0
MANAUSE
=11
SKILLREQ
=MAGERY 40.0
INTERRUPT
=100.0,100.0 
AND tried to change the efect_id or effect or add 'dam=' or change the flags but nothing happends... I cannot change the damage given by the spell...

Any Clues? Do I have to make an script or there is an easier way?

Actually I'd like to make spells like Sphere 51...
06-04-2013 08:52 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #2
RE: Spells
You are using the old scripts pack with the nightly build, you have to use the nightly scripts !

http://nightly.prerelease.sphere.torfo.o...pts.tar.gz

The script for the fire field uses in fact use the new spell flag spellflag_damage :

PHP Code:
[Spell 28]
DEFNAME=s_fire_field
NAME
=Fire Field
SOUND
=snd_SPELL_FIRE_FIELD
RUNES
=IFG
CAST_TIME
=3.0
RESOURCES
=i_reag_black_pearl,i_reag_spider_silk,i_reag_sulfur_ash
RUNE_ITEM
=i_rune_FIRE_FIELD
SCROLL_ITEM
=i_scroll_FIRE_FIELD
FLAGS
=SPELLFLAG_TARG_XYZ|SPELLFLAG_FIELD|SPELLFLAG_HARM|SPELLFLAG_RESIST|SPELLFLAG_DAMAGE
EFFECT_ID
=0
EFFECT
=2,12
DURATION
=2*60.0,4*60.0
MANAUSE
=11
SKILLREQ
=MAGERY 40.0
INTERRUPT
=100.0,100.0 

All new spellflags can be found in spheredefs.scp in the nightly scriptpack
(This post was last modified: 06-04-2013 05:13 PM by darksun84.)
06-04-2013 05:10 PM
Find all posts by this user Like Post Quote this message in a reply
larmc20
Journeyman
*

Posts: 67
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2013
Reputation: 0



Post: #3
RE: Spells
THANKS MATE! I wish I had a master knowledge to help people as you help me!
06-04-2013 10:52 PM
Find all posts by this user Like Post Quote this message in a reply
larmc20
Journeyman
*

Posts: 67
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2013
Reputation: 0



Post: #4
RE: Spells
Is there a way to make Wall of Stone do not take the paralize off?
06-07-2013 03:14 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #5
RE: Spells
There is a spellflag: spellflag_nounparalyze
06-07-2013 03:30 AM
Find all posts by this user Like Post Quote this message in a reply
larmc20
Journeyman
*

Posts: 67
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2013
Reputation: 0



Post: #6
RE: Spells
Do you know where can i check all spells flags?
06-07-2013 04:15 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

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



Post: #7
RE: Spells
spheredefs.scp , search for spellflag Big Grin
06-07-2013 04:16 AM
Find all posts by this user Like Post Quote this message in a reply
larmc20
Journeyman
*

Posts: 67
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2013
Reputation: 0



Post: #8
RE: Spells
Well let me try explain my problem to you...

I want to do it for NPC and players.

I want to paralize, cross the wall of stone and attack, behind the corner, into the cross of Wall of stone. If you understand what I mean.

[Image: wallho.th.png][/URL]

When I am in Gm Mode I can Attack behind the wall or even cast spells. I'd like this possibilities to players. is it possible?

ahhh I Will search There.. thanks
(This post was last modified: 06-07-2013 04:45 AM by larmc20.)
06-07-2013 04:44 AM
Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Banned

Posts: 338
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #9
RE: Spells
Its a problem of visibility. I think you will need a complete scripted wall of stone spell.
06-07-2013 09:50 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #10
RE: Spells
Isnt it energy field you are describing?
06-07-2013 10:07 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)