Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Color Of Hits Bar When Poisoned
Author Message
kduzera
Apprentice
*

Posts: 15
Likes Given: 5
Likes Received: 1 in 1 posts
Joined: Aug 2018
Reputation: 0



Post: #1
Color Of Hits Bar When Poisoned
Hi guys! Smile

I have a little problem.

When char reflects the Poison Spell with Magic Reflection, the caster of Poison Spell gets poisoned, but, the Hits Bar don't change the color for green.


How can i solve this problem?


Thank U




//////////////////////SCRIPTS//////////////////////

POISON SCRIPT

[SPELL 20]
DEFNAME=s_poison
NAME=Poison
SOUND=snd_spell_poison
RUNES=IN
CAST_TIME=3.3
RESOURCES=i_reag_nightshade
RUNE_ITEM=i_rune_poison
SCROLL_ITEM=i_scroll_poison
FLAGS=spellflag_dir_anim|spellflag_targ_obj|spellflag_harm|spellflag_fx_targ|spe​llflag_resist
EFFECT_ID=i_fx_curse
EFFECT=300,500
LAYER=layer_flag_poison
DURATION=100.0,150.0
MANAUSE=18
SKILLREQ=MAGERY 30.0
INTERRUPT=100.0,100.0


[SPELL 36]
// NOTE: This is a proactive type of protection that no one wants to see run out. Because of it's level and the amount of reagents I would think this spell last a bit longer in light of it only being a one time reflect as opposed to Reactive and protection. Should it have a duration at all or remain until dispel'ed or hit ???
DEFNAME=s_magic_reflection
NAME=Magic Reflection
SOUND=snd_spell_magic_reflection
RUNES=IJS
CAST_TIME=4.0
RESOURCES=i_reag_garlic,i_reag_mandrake_root,i_reag_spider_silk
RUNE_ITEM=i_rune_magic_reflection
SCROLL_ITEM=i_scroll_magic_reflection
FLAGS=spellflag_dir_anim|spellflag_targ_char|spellflag_fx_targ|spellflag_good|sp​ellflag_playeronly|spellflag_bless
EFFECT_ID=i_fx_bless_effect
EFFECT=0
LAYER=layer_spell_magic_reflect
DURATION=4*60.0,8*60.0
MANAUSE=18
SKILLREQ=MAGERY 50.0
INTERRUPT=100.0,100.0
09-21-2018 11:43 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Color Of Hits Bar When Poisoned
what sphere build are you using?

I'm testing here on latest 56d build with default script pach and it's working fine. I casted magic reflection + poison on a NPC, it reflected the spell and I got poisoned with green health bar set properly
10-01-2018 11:10 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)