//:://///////////////////////////////////////////// //:: Werewolf Silver Weapons //:: WW_SILVER //::////////////////////////////////////////////// /* Give them a +2 attack bonus if its a Silver weapon. Must have Sil or Silver in the tag. NOT case specific. */ void main() { object oWeapon = GetLastWeaponUsed(OBJECT_SELF); string sWeaponTag = GetStringUpperCase(GetTag(oWeapon)); if((FindSubString(sWeaponTag,"SILVER")!= -1) ||(FindSubString(sWeaponTag,"SIL"))!= -1) { //SpeakString("Silver weapon"); effect eSilver=EffectAttackIncrease(2,ATTACK_BONUS_MISC); ApplyEffectToObject(DURATION_TYPE_TEMPORARY,eSilver,OBJECT_SELF,6.0); } }