Index: scripts/globals/spells/meteor.lua =================================================================== --- scripts/globals/spells/meteor.lua (revision 3309) +++ scripts/globals/spells/meteor.lua (working copy) @@ -28,6 +28,11 @@ dmg = adjustForTarget(target,dmg); --add in final adjustments dmg = finalMagicAdjustments(caster,target,spell,dmg); - return dmg; + if (caster:getID() == 17297441) then -- For King Behemoth + target:delHP(dmg*6); + return dmg*6; + else + return dmg; + end end; \ No newline at end of file Index: sql/mob_pools.sql =================================================================== --- sql/mob_pools.sql (revision 3309) +++ sql/mob_pools.sql (working copy) @@ -2305,7 +2305,7 @@ INSERT INTO `mob_pools` VALUES (2252,'Kingslayer_Doggvdegg',334,0x00001B0800000000000000000000000000000000,1,1,4,240,16,1,0,0,0,0,3,0,0,0); INSERT INTO `mob_pools` VALUES (2253,'King_Apkallu',27,0x0000BB0600000000000000000000000000000000,2,2,1,380,0,0,0,0,0,616,133,0,0,0); INSERT INTO `mob_pools` VALUES (2254,'King_Arthro',77,0x0000650100000000000000000000000000000000,4,5,12,240,2,0,2,20,32,514,157,0,1,0); -INSERT INTO `mob_pools` VALUES (2255,'King_Behemoth',51,0x0000940100000000000000000000000000000000,1,1,6,380,16,1,2,0,32,6713,131,0,0,0); +INSERT INTO `mob_pools` VALUES (2255,'King_Behemoth',51,0x0000940100000000000000000000000000000000,1,1,6,380,16,1,2,0,32,6713,131,0,0,37); INSERT INTO `mob_pools` VALUES (2256,'King_Buffalo',57,0x00004D0500000000000000000000000000000000,1,8,12,360,8,0,0,0,0,608,133,0,0,0); INSERT INTO `mob_pools` VALUES (2257,'King_Goldemar',90,0x00002F0700000000000000000000000000000000,4,4,12,240,0,0,2,0,0,0,3,0,0,2); INSERT INTO `mob_pools` VALUES (2258,'King_of_Batons',61,0x0000AF0100000000000000000000000000000000,4,4,12,240,40,1,2,0,0,1048,135,0,0,2); Index: sql/mob_spell_lists.sql =================================================================== --- sql/mob_spell_lists.sql (revision 3309) +++ sql/mob_spell_lists.sql (working copy) @@ -829,4 +829,5 @@ INSERT INTO `mob_spell_lists` VALUES ('MagicPot', '36', '273', '31', '55'); INSERT INTO `mob_spell_lists` VALUES ('MagicPot', '36', '274', '56', '255'); INSERT INTO `mob_spell_lists` VALUES ('MagicPot', '36', '169', '5', '29'); -INSERT INTO `mob_spell_lists` VALUES ('MagicPot', '36', '258', '7', '255'); \ No newline at end of file +INSERT INTO `mob_spell_lists` VALUES ('MagicPot', '36', '258', '7', '255'); +INSERT INTO `mob_spell_lists` VALUES ('King_Behemoth', '37', '900', '85', '85'); \ No newline at end of file Index: sql/spell_list.sql =================================================================== --- sql/spell_list.sql (revision 3300) +++ sql/spell_list.sql (working copy) @@ -678,6 +678,7 @@ INSERT INTO `spell_list` VALUES (682,'delta_thrust',0x00000000000000000000000000000059000000000000,3,0,0,0,0,0,0,0,0,0,0,4000,0,0,1.00,0,0,1); INSERT INTO `spell_list` VALUES (683,'everyones_grudge',0x0000000000000000000000000000005A000000000000,3,0,0,0,0,0,0,0,0,0,728,4000,0,0,1.00,0,0,1); INSERT INTO `spell_list` VALUES (684,'reaving_wind',0x0000000000000000000000000000005A000000000000,3,0,0,0,0,0,0,0,0,0,0,4000,0,0,1.00,0,0,1); +INSERT INTO `spell_list` VALUES (900,'meteor',0x00000063000000000000000000000000000000000000,2,7,0,4,36,418,8000,52000,2,252,219,4000,1,964,1.00,0,0,1); /*!40000 ALTER TABLE `spell_list` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; Index: src/map/mob_spell_list.h =================================================================== --- src/map/mob_spell_list.h (revision 3309) +++ src/map/mob_spell_list.h (working copy) @@ -31,7 +31,7 @@ #include "spell.h" -#define MAX_MOBSPELLLIST_ID 37 +#define MAX_MOBSPELLLIST_ID 38 typedef struct { Index: src/map/spell.h =================================================================== --- src/map/spell.h (revision 3300) +++ src/map/spell.h (working copy) @@ -32,7 +32,7 @@ #include "battleentity.h" #define CANNOT_USE_SPELL 0 -#define MAX_SPELL_ID 800 +#define MAX_SPELL_ID 901 enum SPELLGROUP {