This repository has been archived by the owner on Dec 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 221
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 #545 from kaincenteno/blue-mage-transformations-quest
Blue Mage Transformations quest + other 3 armor pieces
- Loading branch information
Showing
13 changed files
with
336 additions
and
49 deletions.
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,31 @@ | ||
--------------------------------------------- | ||
-- Reprobation | ||
-- | ||
-- Description: Dispels all buffs from targets in area of effect, including food. | ||
-- Type: Enfeebling | ||
-- Utsusemi/Blink absorb: Dispels shadows | ||
-- Range: Area of Effect | ||
-- Notes: | ||
--------------------------------------------- | ||
require("scripts/globals/monstertpmoves") | ||
require("scripts/globals/settings") | ||
require("scripts/globals/status") | ||
require("scripts/globals/msg") | ||
--------------------------------------------- | ||
|
||
function onMobSkillCheck(target,mob,skill) | ||
return 0 | ||
end | ||
|
||
function onMobWeaponSkill(target, mob, skill) | ||
local dispel = target:dispelAllStatusEffect(bit.bor(tpz.effectFlag.DISPELABLE, tpz.effectFlag.FOOD)) | ||
local msg = tpz.msg.basic.SKILL_NO_EFFECT | ||
|
||
if dispel > 0 then | ||
msg = tpz.msg.basic.DISAPPEAR_NUM | ||
end | ||
|
||
skill:setMsg(msg) | ||
|
||
return dispel | ||
end |
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
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
Oops, something went wrong.