• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Spell] Ability in this spellpack needs fix.

Level 14
Joined
Jul 19, 2007
Messages
772
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 14
Joined
Jul 19, 2007
Messages
772
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 :-/
 
Top