oh wait
mongbats die with a single hit, so theyre prolly die'ing before the data is send, then you send it above an unexisting thing's head...
how to fix it:
on :damage:damage.inc you just change this:
Code:
function ApplyDamageEX(mobile, amount, type:=DMG_FORCED, source:=0)
amount := CInt(amount);
amount := CalcDamageAmount(mobile, amount, type);
if ( amount == error )
return 0;
elseif ( amount < 0 )
HealDamage(mobile, Abs(amount));
else
if ( source )
SetLastDamageInfo(mobile, amount, type, source);
SetScriptController(source);
endif
ApplyDamage(mobile, amount);
endif
var settings := DMG_GetSettingsCfgElem("Settings");
if ( settings.DisplayDamage )
DisplayDamage(mobile, amount, source);
endif
return amount;
endfunction
into this:
Code:
function ApplyDamageEX(mobile, amount, type:=DMG_FORCED, source:=0)
amount := CInt(amount);
amount := CalcDamageAmount(mobile, amount, type);
var settings := DMG_GetSettingsCfgElem("Settings");
if ( settings.DisplayDamage )
DisplayDamage(mobile, amount, source);
endif
if ( amount == error )
return 0;
elseif ( amount < 0 )
HealDamage(mobile, Abs(amount));
else
if ( source )
SetLastDamageInfo(mobile, amount, type, source);
SetScriptController(source);
endif
ApplyDamage(mobile, amount);
endif
return amount;
endfunction
how can i submit some kinda thing like this into the distro? (aka how do i help?)