Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,18 @@
/*
prc_hexbl_unluck
Hexblade gains 20% concealment
*/
void main()
{
//Declare major variables
object oCaster = OBJECT_SELF;
float fDuration = RoundsToSeconds(3 + GetAbilityModifier(ABILITY_CHARISMA, oCaster));
effect eShield = EffectLinkEffects(EffectConcealment(20), EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE));
eShield = SupernaturalEffect(eShield);
effect eVis = EffectVisualEffect(VFX_IMP_AC_BONUS);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eShield, oCaster, fDuration);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oCaster);
}