PDA

View Full Version : If Poisoned Use Claw of the Noxious Spawn



The_Miguelito
01-03-2016, 11:41 PM
Is it possible to make this script? Everytime I'm poisoned I want to use the Claw, if possible.

l4z
02-22-2016, 03:08 PM
have you found it?

neinrar
02-22-2016, 04:20 PM
Need this too! :)

eldera
02-22-2016, 05:41 PM
local readyClawId = 9392
local usedClawId = 9394
local unequippedClawId = 9393

Module.New("cure-poision", function()
if (Self.isPoisoned()) then
if (Self.Ring().id == readyClawId) then
Self.UseItemFromEquipment("ring")
elseif (Self.Ring().id == usedClawId) then
Self.Dequip("ring")
else
Self.Equip(unequippedClawId, "ring")
end
end
end)

MrTrala
02-22-2016, 09:46 PM
local readyClawId = 9392
local usedClawId = 9394
local unequippedClawId = 9393

Module.New("cure-poision", function()
if (Self.isPoisoned()) then
if (Self.Ring().id == readyClawId) then
Self.UseItemFromEquipment("ring")
elseif (Self.Ring().id == usedClawId) then
Self.Dequip("ring")
else
Self.Equip(unequippedClawId, "ring")
end
end
end)
What's the point of using this script if each time you cure yourself you are going to remove your claw and put it again dealing more damage than you just cured.

Useless if you're hunting something that poisons you a lot.

eldera
02-22-2016, 09:55 PM
What's the point of using this script if each time you cure yourself you are going to remove your claw and put it again dealing more damage than you just cured.

Useless if you're hunting something that poisons you a lot.

So how should that script work then?
edit:

local readyClawId = 9392

Module.New("cure-poision", function()
if (Self.isPoisoned()) then
if (Self.Ring().id == readyClawId) then
Self.UseItemFromEquipment("ring")
end
end
end)

MrTrala
02-22-2016, 10:04 PM
So how should that script work then?

Nvm my bad, read the ID wrong :p. That one should work perfectly.

PS; Use the first one if you got 2 Claws, use the second one if you just have one.