SphereCommunity
poison spell/combat - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: poison spell/combat (/Thread-poison-spell-combat)

Pages: 1 2


RE: poison spell/combat - richm - 04-02-2017 03:31 AM

Blah, I am afraid I have mis-reported slightly. Hoping this makes it an easy fix though ;-)

I am GM all skills and poison an NPC, no initial damage but after 3 or 4 seconds it looks extremely sick and some damage is done. Then it is cured, blue bar, no more damage etc.

If I do .xpoison 1 it does nothing (this is where i went wrong before) but if I do .xpoison 1000 it works as it should.

So poison spell doesnt work, but src.poison 1000 does. Same results on a completely fresh server install.

Rich

Additional Info: Exact same results with fresh install of the last 56c release & script pack


RE: poison spell/combat - richm - 04-05-2017 06:55 AM

Still fairly certain this is a server bug. I found the issue though. The MORE2 setting on the i_rune_poison is not being set correctly. It is always 1.

This is a scripted fix, until something better comes along, if anyone else has this issue...

Put this on your main player event:

ON=@SPELLSUCCESS
IF (<ARGN1>==20)//ispoison
ACT.TIMERF 3, f_poisonfix <EVAL <ARGN2>/100>
ENDIF

[FUNCTION f_poisonfix]
IF <FINDID.i_rune_poison>
FINDID.i_rune_poison.MORE2 <ARGS>
ENDIF