sorry it now works typo on compare, i have a new problem getitem doesnt work on instance mobs, but if I manually @monster it, it drops gold.
- script gold -1,{
OnNpcKillEvent:
getmapxy(@m$,@x,@y,0);
if (compare(strcharinfo(3),"1@tower") || compare(strcharinfo(3),"2@tower") || compare(strcharinfo(3),"3@tower") || compare(strcharinfo(3),"4@tower") || compare(strcharinfo(3),"5@tower") || compare(strcharinfo(3),"6@tower"))
{
if(killedrid == 1002) // Poring
{
makeitem 969,1,@m$,@x,@y; //Gold
if (rand(100) < 20) // 20% chance of activating.
makeitem 616,1,@m$,@x,@y; // OCA
}
}