Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Stats dex,in,stam
|
Author |
Message |
Sum 
Apprentice

Posts: 40
Likes Given: 32
Likes Received: 5 in 4 posts
Joined: Feb 2016
Reputation: 0
![]()
|
RE: Stats dex,in,stam
I do not and have checked the sphere_spells_magery.scp. I have now update to 56d
Here is thats section in my sphere.ini
Code:
// Extra magic flags to control magic/magery behaviour (default:0, 0.55i compatible)
// MAGICF_NODIRCHANGE 00001 // Not rotate player when casting/targeting
// MAGICF_PRECAST 00002 // Precasting (cast spell before target prompt)
// MAGICF_IGNOREAR 00004 // Magic damage ignore ar
// MAGICF_CANHARMSELF 00008 // Magic can do damage on self
// MAGICF_STACKSTATS 00010 // Different stat spells don't cancel each other out
// MAGICF_FREEZEONCAST 00020 // No movement whilst casting
// MAGICF_SUMMONWALKCHECK 00040 // Summoned creatures should be able to walk on the target location (e.g. water creatures to be summoned on water)
// MAGICF_NOFIELDSOVERWALLS 00080 // Field spells cannot cross over blocking objects
// MAGICF_NOANIM 00100 // Auto SPELLFLAG_NO_ANIM in every spell
// MAGICF_OSIFORMULAS 00200 // Calculate spell damage and duration based on OSI formulas
// MAGICF_NOCASTFROZENHANDS 00400 // Can't cast spells if got paralyzed holding something on hands
// MAGICF_POLYMORPHSTATS 00800 // Polymorph spells give out stats based on base chars (old behaviour backwards).
// MAGICF_OVERRIDEFIELDS 01000 // Prevent cast multiple field spells on the same tile, making the new field tile remove the previous field
MagicFlags=00010
here is an example of a spell in my script
[Spell 9]
Code:
// Raise dex
DEFNAME=s_Agility
NAME=Agility
SOUND=snd_SPELL_AGILITY
RUNES=EU
CAST_TIME=0.7//5
RESOURCES=i_reag_blood_moss,i_reag_mandrake_root
RUNE_ITEM=i_rune_AGILITY
SCROLL_ITEM=i_scroll_AGILITY
FLAGS=SPELLFLAG_TARG_CHAR | SPELLFLAG_FX_TARG| SPELLFLAG_GOOD
EFFECT_ID=i_fx_BLESS_EFFECT
EFFECT=5,20
DURATION=2*60.0,3*60.0
MANAUSE=6
SKILLREQ=MAGERY 20.0
INTERRUPT=100.0,100.0
I have removed everyone of my scripts and just ran it as a plain shard with the same issue. Say if i cast bless all three stats go up but never come off the player until another stat spell is cast which on the first cast brings them to 0 and then you have to cast again to get the stat buff.
Wow feeling stupid lol. just noticed i had the 56b spell scripts installed  Thanks for your time!
(This post was last modified: 03-20-2017 10:39 AM by Sum.)
|
|
03-20-2017 10:13 AM |
|
|
User(s) browsing this thread: 1 Guest(s)