Area Changes and other fixes
added areas and ccoh, fixed some areas to work with crafting fixed some on death issues added server entry/ooc
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
float fGold;
|
||||
int iGold2;
|
||||
|
||||
// item destruction loop
|
||||
object oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while (GetIsObjectValid(oItem) == TRUE)
|
||||
{
|
||||
// gives gold for item
|
||||
fGold=IntToFloat(GetGoldPieceValue(oItem));
|
||||
iGold2=FloatToInt(fGold * 0.30);
|
||||
GiveGoldToCreature(oPC, iGold2);
|
||||
|
||||
DestroyObject(oItem);
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user