SphereCommunity
Spells - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Spells (/Thread-Spells)

Pages: 1 2


Spells - larmc20 - 06-04-2013 08:52 AM

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...


RE: Spells - darksun84 - 06-04-2013 05:10 PM

You are using the old scripts pack with the nightly build, you have to use the nightly scripts !

http://nightly.prerelease.sphere.torfo.org/files/sphereNightlyScripts.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


RE: Spells - larmc20 - 06-04-2013 10:52 PM

THANKS MATE! I wish I had a master knowledge to help people as you help me!


RE: Spells - larmc20 - 06-07-2013 03:14 AM

Is there a way to make Wall of Stone do not take the paralize off?


RE: Spells - RanXerox - 06-07-2013 03:30 AM

There is a spellflag: spellflag_nounparalyze


RE: Spells - larmc20 - 06-07-2013 04:15 AM

Do you know where can i check all spells flags?


RE: Spells - darksun84 - 06-07-2013 04:16 AM

spheredefs.scp , search for spellflag Big Grin


RE: Spells - larmc20 - 06-07-2013 04:44 AM

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


RE: Spells - amonvangrell - 06-07-2013 09:50 AM

Its a problem of visibility. I think you will need a complete scripted wall of stone spell.


RE: Spells - Alaric - 06-07-2013 10:07 AM

Isnt it energy field you are describing?