View Single Post
Old 12-30-2003, 01:31 PM   #5
Chewbacca
Zartan
 

Join Date: July 18, 2001
Location: America, On The Beautiful Earth
Age: 52
Posts: 5,373
Ah cool That is similar but differnet to my first attempt:

code:
void main()
{
itemproperty ip = ItemPropertyAttackBonus(1);

object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, GetPCSpeaker());

AddItemProperty(DURATION_TYPE_PERMANENT, ip, oItem);
}
[/QUOTE]my main issue, the one I am inexpirienced at, is the checks to insure it is a valid item, ect. I think I would use an "If/Then" type thingy (can you tell Im a novice coder?) but I just haven't gotten their yet.

Also I wonder how to do this by placing an item in, lets say a chest, and applying enhancments to it. That will be my next attempt/expiriment.
Chewbacca is offline   Reply With Quote