do creaturescripts.xml dodajemy:

creaturescripts.xml
   <event type="kill" name="boss" script="boss.lua"/>
 

do login.lua dodajemy:

login.lua
registerCreatureEvent(cid, "boss")
 

tworzymy plik boss.lua w data/creaturescripts i wlejamy:

boss.lua
function onKill(cid, target)
       --Config (By Erexo)
   local  monstername = 'ferumbras'  -- nazwa potwora (z malych liter!)
   local  expedience = 5000  -- ile expa ma dawac (da kazdemu kto choć raz hit potwora)
   local  itemid = 1234  -- id itema
   local  itemcount = 1  -- ilosc itemow
 
   if isMonster(target) and getCreatureName(target):lower() == monstername then
   doPlayerAddExp(cid,expedience)
      doPlayerAddItem(cid, itemid, itemcount)
   end
   return true
end