SphereCommunity
Big problem.. i'm desperate - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Big problem.. i'm desperate (/Thread-Big-problem-i-m-desperate)



Big problem.. i'm desperate - admin_teclis - 01-09-2013 04:46 AM

Hello guys,
i have a big , very BIG, problem... When a character (of any race) with cap top shoot with bows down the right stat str .... more But in my script does not even mention the str ....

Parts of the script :

[EVENTS e_stat_nano]

ON=@EnvironChange

//IF !(<SRC.FINDID.i_rune_bless>)
IF ((<SRC.FLAGS> & STATF_POLYMORPH) || (<SRC.FINDLAYER(LAYER_SPELL_STATS)>) || (<SRC.FINDLAYER(LAYER_FLAG_Potion)>) || (<SRC.FINDLAYER(LAYER_FLAG_Hallucination)>))
return 1
endif
IF !((<SRC.FLAGS> & STATF_POLYMORPH) || (<SRC.FINDLAYER(LAYER_SPELL_STATS)>) || (<SRC.FINDLAYER(LAYER_FLAG_Potion)>) || (<SRC.FINDLAYER(LAYER_FLAG_Hallucination)>))

IF (<eval <SRC.STR>> > 150)
say @2545 Stat cap superato!
SRC.STR=150
ENDIF

IF (<eval <SRC.DEX>> > 150)
say @2444 Stat cap superato!
SRC.DEX=150
ENDIF

IF (<eval <SRC.INT>> > 60)
say @2441 Stat cap superato!
SRC.INT=60
ENDIF

IF (<EVAL <SRC.STR>+<SRC.DEX>+<SRC.INT>> > 300)
say @2545 Stat cap superato!
IF (<EVAL <SRC.DEX>> > <EVAL <SRC.INT>>)
SRC.INT=(<SRC.INT>+(-1))
RETURN 1
ENDIF

ENDIF
ENDIF
//endif

help me pls...


RE: Big problem.. i'm desperate - darksun84 - 01-09-2013 05:17 AM

I didn't understand what you mean, but you can send me a pm in italian Tongue


RE: Big problem.. i'm desperate - admin_teclis - 01-09-2013 05:25 AM

mandato Smile