Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
20
trunk/racescripts/race_outburst.nss
Normal file
20
trunk/racescripts/race_outburst.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
/* Outburst racial ability for Maenads
|
||||
-2 Int and Wis and +2 Str for 4 rounds.*/
|
||||
|
||||
//#include "prc_alterations"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
effect eAbilDec = EffectAbilityDecrease(ABILITY_INTELLIGENCE, 2);
|
||||
effect eAbilDec2 = EffectAbilityDecrease(ABILITY_WISDOM, 2);
|
||||
effect eAbilInc = EffectAbilityIncrease(ABILITY_STRENGTH, 2);
|
||||
effect eVis = EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE);
|
||||
effect eLink = EffectLinkEffects(eAbilDec, eAbilDec2);
|
||||
eLink = EffectLinkEffects(eLink, eAbilInc);
|
||||
eLink = EffectLinkEffects(eLink, eVis);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_HOLY_AID), oPC);
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oPC, RoundsToSeconds(4));
|
||||
}
|
Reference in New Issue
Block a user