viewing paste Unknown #19724 | Lua

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13
function onTrigger(player,npc)
    local voidstones = player:getCurrency("voidstones");
 
    if (GetMobAction(00000000) == ACTION_NONE) then
        if (player:hasKeyItem(INDIGO_STRATUM_ABYSSITE) and player:hasCurrency("voidstones", 1)) then
              SpawnMob(00000000, 300):updateClaim(player);
         player:delCurrency("voidstones", 1);
              player:tradeComplete();
         else
         player:startEvent(6000);
    end
    end
end;
Viewed 653 times, submitted by Guest.