I have added my mobs like this:
2501,BAY_LAUREL,Bay Laurel,Bay Laurel,1,50,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x60,2000,1,1,1,0,0,0,0,0,0,0,19542,85,19512,5,19539,5,19539,5,19540,1,19541,1,7539,10,0,0,0,0,0,0
and they spawn like this:
- script EastBayKill -1,{
OnThisMobDeath:
announce strcharinfo(0)+" just killed the eastern Bay Laurel. It will regrow in 2 hours.",0;
end;
}
- script WestBayKill -1,{
OnThisMobDeath:
announce strcharinfo(0)+" just killed the western Bay Laurel. It will regrow in 2 hours.",0;
end;
}
aethra,182,167,0,0 monster Bay Laurel 2501,1,3600000,0,"EastBayKill::OnThisMobDeath"
aethra,54,195,0,0 monster Bay Laurel 2501,1,3600000,0,"WestBayKill::OnThisMobDeath"
Now someone did the major damage to Bay Laurel, but still another person got the loot and has been announced as killer. Could it be that the lasthit counts? But when I spawn Bay Laurel with @spawn the person who dealt the major damage gets the loot.
Thanks for help!