• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Ability in this spellpack needs fix.

Status
Not open for further replies.
Level 15
Joined
Jul 19, 2007
Messages
856
I want to import the ability "Moment of Courage" into my map from this spellpack but the problem is the ability doesn't seems to be working like it should because it seems to proc all the time after the cooldown is gone but it should only have 25% chance to proc and also it give attack speed bonus for some seconds but it should only give attack speed bonus for the first attack the hero does when it procs... I hope you get what I mean. Here is spellpack Moment of Courage spellpack
 
Level 15
Joined
Jul 19, 2007
Messages
856
The max players slots have increased since the map was made so the Unit Indexer no longer indexes all pre-placed units at the start of the game.
In the Unit Indexer trigger change
  • Custom script: local integer i = 16
to
  • Custom script: local integer i = bj_MAX_PLAYER_SLOTS
I changed it and imported the ability to my map but it still doesn't work. Now it will only proc once and not more, doesn't matter how much the Hero attacks, it wont proc more than only once :-/
 
Status
Not open for further replies.
Top