![]() |
Loot help - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Loot help (/Thread-Loot-help) Pages: 1 2 |
RE: Loot help - XuN - 02-12-2015 11:23 PM Using this will mean that anyone hitting the npc will give him the loot, no matter if it was only one hit or if it was 4 days ago, if you want ONLY the killer (last hit done) to create this item in the corpse then use my solution, if not you can use Artyk's idea, however try to keep in mind that you'll have to remove the tag to prevent what I said ... or you can check all the attackers to do check in real time: This will be only when the killer (last hit done) have the tag: Code: ON=@DeathCorpse This for everyone with the tag: Code: ON=@DeathCorpse RE: Loot help - pushim - 02-13-2015 07:44 AM perfect, looking in the wiki can achieve understand, thanks ![]() RE: Loot help - pushim - 02-19-2015 03:52 PM i have a problem ON=@DeathCorpse ref1=<attacker.last> if (<ref1.TAG0.LOOT1>) SAY The tag is ok NEWLOOT i_katana endif i can't execute the NEWLOOT, i thought the script worked but was part of the desires line RE: Loot help - richm - 02-20-2015 01:38 AM SERV.NEWITEM i_katana NEW.CONT=<ARGO.FINDLAYER(21).UID> that might work? I use something similar but under the @death trigger to put loots on dead NPCs. RE: Loot help - pushim - 02-20-2015 06:50 AM change deathcorpse by death and it worked, thx ![]() |