Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Guecubu
- * Soporific Aura (Will vs Sleep, AB decrease on save)
- * Confusion Touch (Cha-Will vs Confuse) */
- case 1044: {
- eEff = ExtraordinaryEffect(EffectAttackDecrease(1 + nParagon));
- eVis = EffectVisualEffect(VFX_FNF_SMOKE_PUFF);
- for (oTarget = GetFirstObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_LARGE, lSelf, TRUE);
- GetIsObjectValid(oTarget);
- oTarget = GetNextObjectInShape(SHAPE_SPHERE, RADIUS_SIZE_LARGE, lSelf, TRUE)) {
- if (!GetIsTarget(oTarget) || GetHasEffectOfType(EFFECT_TYPE_SLEEP, oTarget))
- continue;
- fDelay = GetDistanceBetween(oSelf, oTarget) / 20;
- if (GetSaveCheckResult(SAVING_THROW_WILL, oTarget, 55 + (nParagon * 2)) <= 0) {
- DelayCommand(fDelay, ApplySleep(oTarget, 10, "The soporific aura around the guecubu causes you to fall asleep!"));
- } else {
- DelayCommand(fDelay, ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEff, oTarget, 30.0));
- DelayCommand(fDelay, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget));
- FloatingTextStringOnCreature("The soporific aura around the guecubu weakens you!", oTarget, FALSE);
- }
- }
- if (GetDistanceBetween(oSelf, oPC) < 3.0 &&
- (nResult = TouchAttackMelee(oPC, FALSE)) > 0 &&
- GetSaveCheckResult(60 + SAVING_THROW_WILL, oPC, 55 + (nResult == 2 ? 2 : 0) + (nParagon * 2)) <= 0) {
- ApplyConfuse(oPC, 10, "The guecubu's touch confuses you!");
- }
- }
- break;
- /* Deadborn Vulture
- * Sickening Breath (Con vs Daze) */
- case 1057: {
- if (GetDistanceBetween(oSelf, oPC) < 4.0 &&
- !GetHasSpellImmunity(SPELL_STINKING_CLOUD, oPC) &&
- GetAbilityCheckResult(ABILITY_CONSTITUTION, oPC, 26 + (nParagon * 4)) <= 0) {
- ApplyDaze(oPC, 3, "The deadborn vulture's sickening breath causes you to gag and retch!");
- AssignCommand(oPC, ClearAllActions(TRUE));
- AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_MEDITATE));
- DelayCommand(1.0, ApplyVisualToObject(VFX_COM_CHUNK_GREEN_MEDIUM, oPC));
- DelayCommand(1.0, ApplyVisualToObject(VFX_COM_CHUNK_YELLOW_MEDIUM, oPC));
- ApplyVisualToObject(VFX_IMP_DISEASE_S, oPC);
- }
- }
- break;
- /* Fiendish Render
- * Body Slam (damage)
- * Ground Stomp (Medium PBAoE Str vs KD) */
- case 1058: {
- switch (Random(3)) {
- case 0:
- if (DoRadiusKnockdown(oSelf, RADIUS_SIZE_MEDIUM, CHECK_TYPE_ABILITY|ABILITY_STRENGTH,
- 36 + (nParagon * 4), 3, "The fiendish render stomps the ground, knocking you down!",
- TRUE, TRUE, -1, 120) > 0) {
- ApplyVisualAtLocation(VFX_IMP_PULSE_WIND, lSelf);
- }
- break;
- case 1:
- if (GetDistanceBetween(oSelf, oPC) < 4.0 &&
- (nResult = TouchAttackMelee(oPC, FALSE)) > 0) {
- eEff = EffectDamage(d100((4 + nParagon) * (nResult == 2 ? 2 : 1)), DAMAGE_TYPE_BLUDGEONING);
- DelayCommand(0.1, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEff, oPC));
- ApplyVisualToObject(VFX_COM_BLOOD_CRT_RED, oPC);
- FloatingTextStringOnCreature("The fiendish render slams you!", oPC, FALSE);
- }
- break;
- }
- }
- break;
Advertisement
Add Comment
Please, Sign In to add comment