![]() |
Poison Problem - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Poison Problem (/Thread-Poison-Problem) Pages: 1 2 |
Poison Problem - Van Glan Bloom - 04-29-2016 10:46 PM Hi guys, I have 1 problem with the poison, if i infect one player or mob with poison ( using magery or weapons ) the player and the mobs, automatically remove the poison. I've been watching my scripts and I dont have nothing to indicate that the mobs and players can have this behavior. I need your help. Poison Problem - roberpot - 04-30-2016 01:19 AM Are you sure poison is removed or only the hits bar becomes normal? RE: Poison Problem - Extreme - 04-30-2016 03:34 AM (04-29-2016 10:46 PM)Van Glan Bloom Wrote: Hi guys, Where is the script that apply the poison? What are you using? SRC.POISON? This happen when you don't set the strength.. RE: Poison Problem - Van Glan Bloom - 04-30-2016 10:00 PM In my scripts for poisoning the weapons i have this : Code: LOCAL.POISONUSES=<ARGV[0]> But the problem is all the forms for aplly the poison in the mobs or players. If i use the poison spell hapens the same. I can poison my target but 1 sec later the poison is automatically remove. http://forum.spherecommunity.net/images/attachtypes/image.png 1 sec. later http://forum.spherecommunity.net/images/attachtypes/image.png RE: Poison Problem - Extreme - 04-30-2016 10:19 PM You sent the script when poison weapon.. I want to know how you apply that poison on players/npcs.. RE: Poison Problem - Van Glan Bloom - 05-01-2016 12:01 AM for the weapons i use this code Code: [TYPEDEF t_poison_potion] But i need in POISON SPELL too. Where i can see the problem? RE: Poison Problem - XuN - 05-01-2016 07:09 PM Do you have fresh script pack? or an older one with a newer build? Since some time ago some spells require to have LAYER=xx in their definition. RE: Poison Problem - Van Glan Bloom - 05-02-2016 09:13 AM In currently moment i using the sphere 0.56c, soon is a newer build. Idont have made any change in the script spells, since I upgraded the server. However in the sphere 56b I never had this problem with the poison. Where i can make the changes? RE: Poison Problem - Criminal - 05-02-2016 09:49 AM go sphere_spells [SPELL 20] DEFNAME=s_poison NAME=Poison SOUND=snd_spell_poison RUNES=IN CAST_TIME=1.5 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 EFFECT_ID=i_fx_curse EFFECT=0 // 100,750 LAYER=layer_flag_poison DURATION=1.0,15.0 MANAUSE=9 SKILLREQ=MAGERY 30.0 INTERRUPT=100.0,100.0 RE: Poison Problem - XuN - 05-02-2016 06:46 PM I know that having that insane amount of text in front of you makes you think about commiting suicide, however it is almost a must to read the revisions files between your old build and the newer one because there are more changes like this that needs you to update your files (same as for sphere_msgs holding font, color, etc for names and much more, new flags for spells on sphere_spells.scp and not only that LAYER, same for skills in sphere_skills.... most of these changes are documented after a 'script pack' note in them, you should take a look at least into them) ![]() |