Updated AMS marker feats. Removed arcane & divine marker feats. Updated Dread Necromancer for epic progression. Updated weapon baseitem models. Updated new weapons for crafting & npc equip. Updated prefix. Updated release archive.
		
			
				
	
	
		
			20 lines
		
	
	
		
			636 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			636 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #include "prc_inc_spells"
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     object oPC = PRCGetSpellTargetObject();
 | |
|     object oWeap = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
 | |
|     int iDamageType = (!GetIsObjectValid(oWeap)) ? DAMAGE_TYPE_BLUDGEONING : GetItemDamageType(oWeap);
 | |
| 
 | |
|     PRCRemoveEffectsFromSpell(oPC, GetSpellId());
 | |
| 
 | |
|     int iBonus = GetHasFeat(FEAT_LEGENDARY_PROWESS, oPC) ? 3 : 1;
 | |
| 
 | |
|     effect eDam = EffectDamageIncrease(iBonus, iDamageType);
 | |
|     effect eAtk = EffectAttackIncrease(iBonus);
 | |
|     effect eLink = EffectLinkEffects(eDam, eAtk);
 | |
|     eLink = ExtraordinaryEffect(eLink);
 | |
| 
 | |
|     ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, oPC);
 | |
| }
 |