01-05-2012, 21:26 PM
i checked again, i found out there are many types of nukes, u need to tell me exactly which on e is it u using such as:
Elemental Spike
Elemental Spike (fire)
Elemental Spike (water)
Elemental Spike (wind)
Elemental Spike (earth)
Elemental Spike (4 attributes)
so i made you another plugin which will make you know which Skill Ids u use so you can replace the ids i put for the ones u use.
Elemental Spike
Elemental Spike (fire)
Elemental Spike (water)
Elemental Spike (wind)
Elemental Spike (earth)
Elemental Spike (4 attributes)
so i made you another plugin which will make you know which Skill Ids u use so you can replace the ids i put for the ones u use.
LUA Programming
function OnMagicSkillUse(user, target, skillId, skillvl, skillHitTime, skillReuse)
if user:IsMe() then
ShowToClient("Skill You Used now has Id of",tostring(skillId));
if (GetTarget() ~= nil) then
if (GetTarget():IsAlikeDeath() == false) then
if skillId == 11017 then --Elemental crash ID
Command("/useskill Elemental Spike");
elseif skillId == 11011 then --Elemental Spike ID
Command("/useskill Elemental Crash");
elseif skillId == 11034 then -- Elemental Blast Id
Command("/useskill Elemental Storm");
elseif skillId == 11040 then -- Elemental Storm Id
Command("/useskill Elemental Blast");
end;
end;
end;
end;
end;