added cutom top hak for 2das
Added size scaling to some creatures
This commit is contained in:
@@ -21,7 +21,6 @@ void main()
|
||||
//Get the first itemproperty on the weapon
|
||||
itemproperty ipLoop=GetFirstItemProperty(oOldWeapon);
|
||||
object oNewWeapon = CreateItemOnObject (sItemTemplate1, oForge, 1);
|
||||
//object oNewWeapon = GetNextItemInInventory (oForge);
|
||||
|
||||
//Loop for as long as the ipLoop variable is valid
|
||||
while (GetIsItemPropertyValid(ipLoop))
|
||||
|
@@ -24,10 +24,10 @@ object oNewWeapon = CreateItemOnObject (sItemTemplate1, oForge, 1);
|
||||
//object oNewWeapon = GetNextItemInInventory (oForge);
|
||||
|
||||
//Loop for as long as the ipLoop variable is valid
|
||||
while (GetIsItemPropertyValid(ipLoop))
|
||||
while (GetIsPlaceableObjectActionPossible(oForge, PLACEABLE_ACTION_USE))
|
||||
{
|
||||
//Add itemprops to new weapon
|
||||
IPSafeAddItemProperty(oNewWeapon, ipLoop);
|
||||
AddItemProperty(DURATION_TYPE_PERMANENT,ipLoop, oNewWeapon);
|
||||
|
||||
//Next itemproperty on the list...
|
||||
ipLoop=GetNextItemProperty(oOldWeapon);
|
||||
|
Reference in New Issue
Block a user