Further file organization
Further file organization
This commit is contained in:
17
nwn/nwnprc/trunk/scripts/prc_reckl_offens.nss
Normal file
17
nwn/nwnprc/trunk/scripts/prc_reckl_offens.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "prc_inc_combat"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
object oTarget = PRCGetSpellTargetObject();
|
||||
|
||||
effect eAttackBonus = EffectAttackIncrease(2);
|
||||
effect eACPenalty = EffectACDecrease(4);
|
||||
effect eDummy;
|
||||
|
||||
effect eLinked = EffectLinkEffects(eAttackBonus, eACPenalty);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLinked, oPC, 6.0);
|
||||
|
||||
PerformAttackRound(oTarget, oPC, eDummy);
|
||||
}
|
Reference in New Issue
Block a user