-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5188 from Barthandalus/base
Rebuild Pull Request #5033 after accidental wipe.
- Loading branch information
Showing
3 changed files
with
102 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
----------------------------------- | ||
-- Ability: Immanence | ||
-- Makes it possible for your next elemental magic spell to be used in a skillchain, but not a magic burst. | ||
-- Obtained: Scholar Level 87 | ||
-- Duration: 1 Black Magic Spell or 60 seconds, whichever occurs first. | ||
----------------------------------- | ||
local abilityObject = {} | ||
|
||
abilityObject.onAbilityCheck = function(player, target, ability) | ||
return 0, 0 | ||
end | ||
|
||
abilityObject.onUseAbility = function(player, target, ability) | ||
player:addStatusEffect(xi.effect.IMMANENCE, 1, 0, 60) | ||
end | ||
|
||
return abilityObject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters