SphereCommunity
Force Spelleffect? - Printable Version

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



Force Spelleffect? - Shamino - 10-11-2012 07:07 AM

Hi everyone!

Have a problem with Spelleffect, the player resist, how can force yes or yes this spelleffect?, like a DAM_GOD damage.

SPELLEFFECT s_feeblemind,1000,<SRC>

Players can resist :/

¿Equip feeblemind rune maybe?
THX!


RE: Force Spelleffect? - Shaklaban - 10-11-2012 09:51 AM

Code:
[SKILL 26]
DEFNAME=Skill_MagicResist
KEY=MagicResistance
TITLE=Resistor
PROMPT_MSG=
EFFECT=0.0,90.0
STAT_STR=40
STAT_INT=100
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=50
ADV_RATE=10.0,200.0,800.0

on=@start
if <tag0.noresist> = 1
    return 1
endif

[function resist_test]
tag.noresist=1
SPELLEFFECT s_feeblemind,1000,<SRC>
tag.noresist=

if not works you can also use @usequick trigger like @start. but i disable default resist on my shard with only @start and it works.


RE: Force Spelleffect? - Barnabus - 10-12-2012 01:56 AM

lol well done Shaklaban !
I cant even read the guys post because of the image at the bottom of it.
Every time I try the only thing that comes to my mind is this looped statment ::

"Shes hot, sorry what was the question again"


RE: Force Spelleffect? - Skul - 10-12-2012 03:01 PM

Nice shoes lol... The question was to override any chance to resist. There should be a way if you use your 'own' system of magic resist, if you don't we'll I'd have to think about how it normally works. By chance, is <src.uid> same as <i>? If so, maybe the problem is you don't have the spell flag spells hurt self in sphere.ini? Try enabling it, see what happens after using your script.


RE: Force Spelleffect? - Shamino - 10-13-2012 01:36 AM

Thanks Shaklaban, works.