blob: c8f0f7e307caf22f63dcd7c905d9ea9f04aea987 (
plain) (
tree)
|
|
// The Mana World script
// Author: Jesusalva <jesusalva@themanaworld.org>
//
// Magic Script: SKILL_FLAR (Level 1)
// School: War 1
function script SK_Flar {
// Charge code, item check is in skill_db.conf
if (!@MCHARGE_FLARE) {
delitem SulphurPowder, 1;
@MCHARGE_FLARE = 2+getskilllv(SKILL_MAGIC_WAR);
}
// Effective magic code
.@PW=70+(5*@skillLv);
.@dmg=AdjustSpellpower(.@PW);
harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Fire);
GetManaExp(@skillId, 1);
return;
}
|