Haldir.ini
;;; VOLLEY FIRE SPECIAL POWER;;;-------------------------------- Behavior = UnpauseSpecialPowerUpgrade ModuleTag_VolleyFireEnabler SpecialPowerTemplate = SpecialAbilityHaldirVolleyFire TriggeredBy = Upgrade_HaldirVolleyFire End Behavior = SpecialPowerModule ModuleTag_VolleyFireUpdate SpecialPowerTemplate = SpecialAbilityHaldirVolleyFire UpdateModuleStartsAttack = Yes StartsPaused = Yes AttributeModifier = HaldirVolleyFire AttributeModifierRange = 200 AttributeModifierAffectsSelf = Yes AttributeModifierAffects = ANY +ARCHER AttributeModifierFX = FX_HaldirVolleyFireFX End Behavior = SpecialAbilityUpdate ModuleTag_HaldirVolleyFire UnpackTime = 1000 UnpackingVariation = 1 SpecialPowerTemplate = SpecialAbilityHaldirVolleyFire PreparationTime = 0 PersistentPrepTime = 0 PackTime = 1330 End
attributemodifier.ini
ModifierList HaldirVolleyFire Category = LEADERSHIP Modifier = RANGE 200% Modifier = VISION 200% Duration = 20000 ; if you mess with this value, you must also change the times in FX_TheodenGloriousChargeFX End
I don't get this at all. When I hit the button, the nearby archers have the FX but not the attribute modifier. I copied most of this code from Theoden's glorious charge, and really, the only things I changed was changed everything that said TheodenGloriousCharge into HaldirVolleyFire (and yes, I did make an upgrade and special power template that are exact copies of TheodenGloriousCharge but with the name HaldirVolleyFire). I also changed the filter from ANY +CAVALRY to ANY +ARCHER, but that't not an issue because the FX is showing on the archers. I've been working on this for a while and I have no idea what's going on.