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 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blue Mage Transformations quest + other 3 armor pieces
Only thing missing are set the onRegionEnter zone correctly and add 2 mob skills that are missing from soulflayers (and this nm too)
- Loading branch information
1 parent
a96c492
commit ca738be
Showing
13 changed files
with
285 additions
and
15 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,33 @@ | ||
--------------------------------------------- | ||
-- 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 -- to be set later | ||
|
||
if (dispel == 0) then | ||
msg = tpz.msg.basic.SKILL_NO_EFFECT -- no effect | ||
else | ||
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
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.