SphereCommunity
GraveStone's - Printable Version

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



GraveStone's - Alias - 08-10-2012 08:38 PM

Hi i have problem when i restart my server almost all my custom gravestone's change their ID what could bee the problem ?
Oh and one more question how to make ON=@SpellSuccess when on attaking player creat memory i tried something like this :
ON=@SpellSuccess
IF rand(4)==1
serv.newitem=i_zombie_eyeshield
new.equip <act.uid>
endif

but i didnt work Confused


RE: GraveStone's - WRWR - 08-10-2012 10:13 PM

Maybe you have a duplicate ITEMDEF of gravestone? check it

I or SRC -The character casting the spell
so
Code:
ON=@SpellSuccess
IF rand(4)==1
serv.newitem=i_zombie_eyeshield
equip <new>
endif



RE: GraveStone's - Handred - 08-10-2012 10:32 PM

I would use Spelleffect if <argn> == <spell number), then do the effect you want.


RE: GraveStone's - Extreme - 08-11-2012 12:35 AM

Maybe
If <EVAL RAND(4)> == 1


RE: GraveStone's - RanXerox - 08-11-2012 12:58 AM

Are the custom items actually changing their ID? Are you sure the DISPID isn't what changes? Place one of these items in game, then find it the save file and show us... then restart the server and find it again so we can see the difference.