- Joined
- Oct 6, 2022
- Messages
- 185
Hello, here to ask some question again. i would like to know how to make this passive where "when this passive is learned, decreases the mana cost of all of her skills in half of the original mana cost required for original skills for each each level of her respective skills."
adding to that original mana cost of the 1st to 3rd skills are
lvl1: 100
lvl2: 150
lvl3: 200
lvl4: 250
original mana cost of ult:
lvl1 to lvl3: 350
i've tried it before but the result was a bit off:
ps -- of anyone wondering why i put an array to the TUnit because so that when i'm making a new skill, i won't need to create more variable for it.
adding to that original mana cost of the 1st to 3rd skills are
lvl1: 100
lvl2: 150
lvl3: 200
lvl4: 250
original mana cost of ult:
lvl1 to lvl3: 350
i've tried it before but the result was a bit off:
-
Hourai Doll
-
Events
-
Unit - A unit Learns a skill
-
-
Conditions
-
(Learned Hero Skill) Equal to Passive
-
-
Actions
-
Set TUnit[1] = (Triggering unit)
-
Unit - For Unit TUnit[1], Set mana cost of ability 1stSkill , Level: 1 to 50
-
Unit - For Unit TUnit[1], Set mana cost of ability 1stSkill , Level: 2 to 75
-
Unit - For Unit TUnit[1], Set mana cost of ability 1stSkill , Level: 3 to 100
-
Unit - For Unit TUnit[1], Set mana cost of ability 1stSkill , Level: 4 to 125
-
-------- ------ --------
-
Unit - For Unit TUnit[1], Set mana cost of ability 2ndSkill , Level: 1 to 50
-
Unit - For Unit TUnit[1], Set mana cost of ability 2ndSkill , Level: 2 to 75
-
Unit - For Unit TUnit[1], Set mana cost of ability 2ndSkill , Level: 3 to 100
-
Unit - For Unit TUnit[1], Set mana cost of ability 2ndSkill , Level: 4 to 125
-
-------- ------ --------
-
Unit - For Unit TUnit[1], Set mana cost of ability 3rdSkill , Level: 1 to 50
-
Unit - For Unit TUnit[1], Set mana cost of ability 3rdSkill , Level: 2 to 75
-
Unit - For Unit TUnit[1], Set mana cost of ability 3rdSkill , Level: 3 to 100
-
Unit - For Unit TUnit[1], Set mana cost of ability 3rdSkill , Level: 4 to 125
-
-------- ------ --------
-
Unit - For Unit TUnit[1], Set mana cost of ability Ult , Level: 1 to 175
-
Unit - For Unit TUnit[1], Set mana cost of ability Ult , Level: 2 to 175
-
Unit - For Unit TUnit[1], Set mana cost of ability Ult , Level: 3 to 175
-
-
ps -- of anyone wondering why i put an array to the TUnit because so that when i'm making a new skill, i won't need to create more variable for it.
Last edited: