#include "NW_I0_SPELLS" #include "prc_alterations" void main() { if (!GetLocalInt(OBJECT_SELF,"FEAT_LIPS_RAPTUR")) return; object oTarget=GetSpellTargetObject(); if (oTarget==OBJECT_SELF) return; SetLocalInt(OBJECT_SELF,"FEAT_LIPS_RAPTUR",GetLocalInt(OBJECT_SELF,"FEAT_LIPS_RAPTUR")-1); SendMessageToPC(OBJECT_SELF," Lips of Rapture : use " +IntToString(GetLocalInt(OBJECT_SELF,"FEAT_LIPS_RAPTUR"))); effect eAtk=EffectAttackIncrease(2); effect eDamB=EffectDamageIncrease(DAMAGE_BONUS_2,DAMAGE_TYPE_BLUDGEONING); effect eDamP=EffectDamageIncrease(DAMAGE_BONUS_2,DAMAGE_TYPE_PIERCING); effect eDamS=EffectDamageIncrease(DAMAGE_BONUS_2,DAMAGE_TYPE_SLASHING); effect eSkill=EffectSkillIncrease(SKILL_ALL_SKILLS,2); effect eSave=EffectSavingThrowIncrease(SAVING_THROW_ALL,2); effect eSaveEnch=EffectSavingThrowIncrease(SAVING_THROW_ALL,4,SAVING_THROW_TYPE_MIND_SPELLS); effect eLink=EffectLinkEffects(eAtk,eDamB); eLink=EffectLinkEffects(eLink,eDamP); eLink=EffectLinkEffects(eLink,eDamS); eLink=EffectLinkEffects(eLink,eSkill); eLink=EffectLinkEffects(eLink,eSave); eLink=EffectLinkEffects(eLink,eSaveEnch); //Make SR check if (!MyPRCResistSpell(OBJECT_SELF, oTarget)) { if (!/*Will Save*/ MySavingThrow(SAVING_THROW_WILL, oTarget, (10+GetAbilityModifier(ABILITY_CHARISMA)+ GetChangesToSaveDC(OBJECT_SELF)), SAVING_THROW_TYPE_MIND_SPELLS)) { ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectDazed(), oTarget, RoundsToSeconds(1)); ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DAZED_S), oTarget); } } ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, RoundsToSeconds(5)); }