Skip to content

Commit d3d1d60

Browse files
rolandc85Frotty
authored andcommitted
Update AbilityObjEditing.wurst (#317)
make setDummyAbility level aware
1 parent 09f5a85 commit d3d1d60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wurst/objediting/AbilityObjEditing.wurst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ public interface TooltipGenerator
2929
/** Makes an ability able to be cast by a dummy */
3030
public function AbilityDefinition.setDummyAbility() returns AbilityDefinition
3131
this..setHeroAbility(false)
32-
..setManaCost(1, 0)
33-
..setCooldown(1, 0)
34-
..setCastRange(1, 99999)
32+
..presetManaCost(lvl -> 0)
33+
..presetCooldown(lvl -> 0)
34+
..presetCastRange(lvl -> 99999)
3535
..setCheckDependencies(false)
3636
return this
3737

0 commit comments

Comments
 (0)