19 lines
247 B
Plaintext
19 lines
247 B
Plaintext
|
//Put this OnDeath
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetLastKiller();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (d100()<=10)
|
||
|
{
|
||
|
CreateItemOnObject("runeore", OBJECT_SELF);
|
||
|
|
||
|
if (d100()<=50)
|
||
|
{
|
||
|
CreateItemOnObject("runegem", OBJECT_SELF);
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|