Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. ---------------------------------------------
  2. -- Fiery Blast
  3. --
  4. -- Description: Deals fire damage to enemies in area of effect.
  5. -- Type: Magical
  6. -- Utsusemi/Blink absorb: Wipes shadows
  7. -- Range: 18' radial.
  8. -- Notes: Used only by Tiamat, Smok and Ildebrann while flying.
  9. ---------------------------------------------
  10. require("scripts/globals/settings");
  11. require("scripts/globals/status");
  12. require("scripts/globals/monstertpmoves");
  13.  
  14. ---------------------------------------------
  15. function onMobSkillCheck(target,mob,skill)
  16. if (mob:AnimationSub() ~= 1) then
  17. return 1;
  18. end
  19. return 0;
  20. end;
  21.  
  22. function onMobWeaponSkill(target, mob, skill)
  23.  
  24. local dmgmod = 1;
  25. local info = MobMagicalMove(mob,target,skill,mob:getWeaponDmg()*4,ELE_FIRE,dmgmod,TP_NO_EFFECT);
  26. local dmg = MobFinalAdjustments(info.dmg,mob,skill,target,MOBSKILL_MAGICAL,MOBPARAM_FIRE,MOBPARAM_WIPE_SHADOWS);
  27. target:delHP(dmg);
  28. return dmg;
  29. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement