diff options
author | Jesusaves <jesusalva@themanaworld.org> | 2020-04-11 00:10:15 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 00:10:15 -0300 |
commit | 5346866a32cd10eb003c0570cdccdb8ececcf2b3 (patch) | |
tree | 279639b33bf32ff079435eba81aafa1843cdccf4 | |
parent | a76f05f04d54bc750d44455ae5435f1970ab804c (diff) | |
parent | c97846a4395fa583ac075d656f52d86f96e3b213 (diff) | |
download | serverdata-5346866a32cd10eb003c0570cdccdb8ececcf2b3.tar.gz serverdata-5346866a32cd10eb003c0570cdccdb8ececcf2b3.tar.bz2 serverdata-5346866a32cd10eb003c0570cdccdb8ececcf2b3.tar.xz serverdata-5346866a32cd10eb003c0570cdccdb8ececcf2b3.zip |
Doomsday Hotfix (#552)v2020.04.06.2
Includes patches for act 5, changes to Iilia, typo fixes on Tulimshar tombstones.
New rares, new item (enchanter's Amulet), new event times.
Theoretical bugfixes. Add the final councilior for GM 98+.
-rw-r--r-- | world/map/db/item_db_chest.txt | 6 | ||||
-rw-r--r-- | world/map/db/item_db_trinket.txt | 3 | ||||
-rw-r--r-- | world/map/db/item_db_weapon.txt | 2 | ||||
-rw-r--r-- | world/map/db/mob_db_over_100.txt | 11 | ||||
-rw-r--r-- | world/map/npc/001-1/tombstones.txt | 4 | ||||
-rw-r--r-- | world/map/npc/052-2/chest.txt | 4 | ||||
-rw-r--r-- | world/map/npc/functions/doomsday.txt | 78 | ||||
-rw-r--r-- | world/map/npc/magic/event-summon-managuardian.txt | 2 |
8 files changed, 93 insertions, 17 deletions
diff --git a/world/map/db/item_db_chest.txt b/world/map/db/item_db_chest.txt index fd553110..fc47cc29 100644 --- a/world/map/db/item_db_chest.txt +++ b/world/map/db/item_db_chest.txt @@ -7,11 +7,11 @@ 625, ChainmailShirt, 5, 15000, 1500, 800, 0, 20, 0, -120, 0, 2, 512, 0, 0, 0, {}, {} 626, LightPlatemail, 5, 50000, 2500, 1200, 0, 25, 0, -150, 0, 2, 512, 0, 0, 0, {}, {} 645, GoldenPlatemail, 5, 9999000, 3000, 4500, 0, 25, 0, -100, 0, 2, 512, 0, 0, 0, {}, {} -649, WhiteEvokersRobeBlue, 5, 8000, 4000, 5, 0, 5, 0, 20, 0, 2, 512, 0, 0, 0, {}, {bonus bAgi, 1;} -650, BlackEvokersRobeBlue, 5, 8000, 4000, 5, 0, 5, 0, 20, 0, 2, 512, 0, 0, 0, {}, {bonus bAgi, 1;} +649, WhiteEvokersRobeBlue, 5, 8000, 4000, 5, 0, 5, 0, 20, 0, 2, 512, 0, 0, 0, {}, {bonus bAgi, 1; bonus bCriticalDef, 10;} +650, BlackEvokersRobeBlue, 5, 8000, 4000, 5, 0, 5, 0, 20, 0, 2, 512, 0, 0, 0, {}, {bonus bAgi, 1; bonus bCriticalDef, 10;} 651, WhiteWizardRobe, 5, 8000, 4000, 5, 0, 5, 0, 0, 0, 2, 512, 0, 0, 0, {}, {} 652, BlackWizardRobe, 5, 8000, 4000, 5, 0, 5, 0, 0, 0, 2, 512, 0, 0, 0, {}, {} -653, ApprenticeRobe, 5, 8000, 4000, 5, 0, 5, 0, 0, 0, 2, 512, 0, 0, 0, {}, {} +653, ApprenticeRobe, 5, 8000, 4000, 5, 0, 5, 0, 20, 0, 2, 512, 0, 0, 0, {}, {bonus bAgi, 1; bonus bCriticalDef, 10;} 658, WarlordPlate, 5, 100000, 3000, 2600, 0, 27, 0, -170, 0, 2, 512, 0, 0, 0, {}, {} 659, GoldenWarlordPlate, 5, 500000, 4000, 7600, 0, 27, 0, -110, 0, 2, 512, 0, 0, 0, {}, {} //ID, Name___________________, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, {UseScript}, {EquipScript} diff --git a/world/map/db/item_db_trinket.txt b/world/map/db/item_db_trinket.txt index 263e61d1..2c3735ab 100644 --- a/world/map/db/item_db_trinket.txt +++ b/world/map/db/item_db_trinket.txt @@ -9,7 +9,8 @@ 832, GoldenFourLeafAmulet, 5, 40000, 4000, 10, 0, 0, 0, 0, 0, 2, 8, 0, 0, 0, {}, {bonus bLuk, 4;} 865, Grimoire, 5, 5000, 2500, 100, 0, 0, 0, 5, 0, 2, 8, 0, 0, 0, {}, {bonus bMaxSP, 30;} 879, HeartOfIsis, 5, 70000, 35000, 40, 0, 0, 0, 0, 0, 2, 8, 0, 85, 0, {}, {bonus bMaxHPrate, 15; bonus bHPrecovRate, 65;} -1244, DarkTalisman, 5, 0, 0, 0, 0, 30, 0, 100, 0, 2, 8, 0, 0, 0, {}, {set @minLvl, 1;callfunc "RestrictedItem";} +1227, EnchantersAmulet, 5, 1000, 1, 1, 0, 0, 0, 0, 0, 2, 16, 0, 0, 0, {}, {bonus bHit, 22;} +1244, DarkTalisman, 5, 0, 0, 0, 0, 0, 0, 100, 0, 2, 8, 0, 0, 0, {}, {bonus bMdef, 30;} 4008, DiamondRing, 5, 5000, 2500, 1, 0, 0, 0, 0, 0, 2, 128, 0, 0, 0, {}, {bonus bVit, 1;} 4009, RubyRing, 5, 5000, 2500, 1, 0, 0, 0, 0, 0, 2, 128, 0, 0, 0, {}, {bonus bStr, 1;} 4010, EmeraldRing, 5, 5000, 2500, 1, 0, 0, 0, 0, 0, 2, 128, 0, 0, 0, {}, {bonus bLuk, 1;} diff --git a/world/map/db/item_db_weapon.txt b/world/map/db/item_db_weapon.txt index 6a0e5935..08d472f0 100644 --- a/world/map/db/item_db_weapon.txt +++ b/world/map/db/item_db_weapon.txt @@ -26,7 +26,7 @@ 581, CrescentRod, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem";} 582, StaffOfFire, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem";} 583, StaffOfIce, 4, 8000, 4000, 1500, 100, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem";} -584, Jackal, 4, 8000, 4000, 100, 100, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem";} +584, Jackal, 4, 8000, 4000, 100, 120, 0, 1, 0, 0, 2, 2, 1, 1, 10, {}, {callfunc "UnreleasedItem";bonus bDoubleAddRate, 30;} 587, Sword, 4, 1000, 500, 200, 15, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem";} 588, BastardSword, 4, 1000, 500, 200, 15, 0, 1, 0, 0, 2, 2, 1, 1, 1, {}, {callfunc "UnreleasedItem";} //589, RESERVED, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {}, {} diff --git a/world/map/db/mob_db_over_100.txt b/world/map/db/mob_db_over_100.txt index 47e98272..e5d5e139 100644 --- a/world/map/db/mob_db_over_100.txt +++ b/world/map/db/mob_db_over_100.txt @@ -43,8 +43,9 @@ //ID, Name, Jname, LV, HP, SP, EXP, JEXP, Range1, ATK1, ATK2, DEF, MDEF, STR, AGI, VIT, INT, DEX, LUK, Range2, Range3, Scale, Race, Element,Mode, Speed, Adelay, Amotion,Dmotion,Drop1id,Drop1per,Drop2id,Drop2%, Drop3id,Drop3%, Drop4id,Drop4%, Drop5id,Drop5%, Drop6id,Drop6%, Drop7id,Drop7%, Drop8id,Drop8%, Item1, Item2, MEXP, ExpPer, MVP1id, MVP1per,MVP2id, MVP2per,MVP3id, MVP3per,mutationcount,mutationstrength 1138, ManaGuard, ManaGuardian, 180, 20000, 280, 27000, 5000, 2, 280, 324, 22, 67, 31, 22, 90, 127, 255, 95, 31, 30, 1, 0, 69, 181, 210, 1200, 672, 50, 759, 1, 5237, 20, 1253, 5, 720, 100, 825, 500, 868, 20, 1172, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 1139, Virus, Virus, 170, 5000, 0, 0, 721, 6, 45, 75, 37, 12, 30, 30, 20, 20, 25, 60, 1, 1, 1, 3, 25, 175, 600, 1872, 672, 480, 787, 500, 743, 1100, 5236, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 20 -1140, Tengu, Tengu, 180, 24000, 280, 45000, 5000, 2, 180, 224, 67, 9, 31, 22, 90, 97, 255, 95, 31, 30, 1, 0, 69, 181, 310, 1200, 672, 50, 653, 1, 4024, 300, 862, 800, 4005, 25, 4029, 10, 5237, 20, 758, 3, 825, 6000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -1141, Sasquatch, Sasquatch, 180, 24000, 280, 45000, 5000, 1, 420, 444, 12, 27, 31, 22, 90, 97, 255, 95, 31, 30, 1, 0, 69, 181, 310, 1200, 672, 50, 650, 1, 763, 500, 862, 800, 640, 1000, 4029, 10, 5237, 20, 758, 3, 825, 6000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -1142, Kage, ZaxDeKagen, 180, 29999, 280, 999999, 99999, 9, 90, 124, 62, 62, 199, 2, 199, 197, 255, 95, 31, 30, 1, 0, 69, 181, 210, 672, 672, 50, 760, 10000, 666, 10000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -1143, ManaSlayer, ManaSlayer, 180, 24000, 280, 42000, 5000, 2, 260, 274, 22, 67, 31, 22, 90, 127, 255, 95, 31, 30, 1, 0, 69, 181, 210, 1200, 672, 50, 759, 1, 828, 2400, 862, 800, 4007, 35, 4029, 10, 5237, 20, 758, 3, 825, 6000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 -1144, Dragon, GreatDragon, 250, 29999, 280, 1, 1, 3, 60, 90, 40, 40, 199, 2, 199, 197, 255, 95, 31, 30, 1, 0, 69, 181, 210, 1200, 672, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +1140, Tengu, Tengu, 180, 24000, 280, 45000, 5000, 2, 180, 224, 67, 9, 31, 22, 90, 97, 255, 95, 31, 30, 1, 0, 69, 181, 310, 1200, 672, 50, 649, 2, 4024, 300, 862, 800, 4005, 25, 4029, 10, 5237, 20, 758, 3, 825, 6000, 1227, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +1141, Sasquatch, Sasquatch, 180, 24000, 280, 45000, 5000, 1, 420, 444, 12, 27, 31, 22, 90, 97, 255, 95, 31, 30, 1, 0, 69, 181, 310, 1200, 672, 50, 653, 2, 763, 500, 862, 800, 640, 1000, 4029, 10, 5237, 20, 758, 3, 825, 6000, 1227, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +1142, Kage, ZaxDeKagen, 200, 29999, 280, 999999, 99999, 9, 90, 124, 62, 100, 199, 2, 199, 197, 255, 95, 31, 30, 1, 0, 69, 181, 210, 672, 672, 50, 760, 10000, 666, 10000, 1244, 10000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +1143, ManaSlayer, ManaSlayer, 180, 24000, 280, 42000, 5000, 2, 260, 274, 22, 67, 31, 22, 90, 127, 255, 95, 31, 30, 1, 0, 69, 181, 210, 1200, 672, 50, 650, 2, 828, 2400, 862, 800, 4007, 35, 4029, 10, 5237, 20, 758, 3, 825, 6000, 1227, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +1144, Dragon, GreatDragon, 250, 29999, 280, 1, 1, 3, 60, 90, 40, 40, 199, 2, 199, 197, 255, 95, 31, 30, 1, 0, 69, 181, 210, 1200, 672, 50, 759, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +1145, KageSlayer, KageSlayer, 180, 8000, 280, 38000, 5000, 6, 140, 174, 74, 0, 31, 22, 90, 127, 255, 95, 31, 30, 1, 0, 69, 181, 210, 1000, 672, 50, 584, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 diff --git a/world/map/npc/001-1/tombstones.txt b/world/map/npc/001-1/tombstones.txt index e064a60d..45fc026d 100644 --- a/world/map/npc/001-1/tombstones.txt +++ b/world/map/npc/001-1/tombstones.txt @@ -36,7 +36,7 @@ { mes "~ " + strcharinfo(0) + " ~"; - mes "The epitath is blank and the grave freshly dug."; + mes "The epitaph is blank and the grave freshly dug."; close; } 001-1,56,106,0|script|RIP#6|400 @@ -71,6 +71,6 @@ 001-1,60,106,0|script|RIP#10|400 { mes "~ Tyer ~"; - mes "\"An experiement went wrong.\""; + mes "\"An experiment went wrong.\""; close; } diff --git a/world/map/npc/052-2/chest.txt b/world/map/npc/052-2/chest.txt index cabd3943..d7644054 100644 --- a/world/map/npc/052-2/chest.txt +++ b/world/map/npc/052-2/chest.txt @@ -30,8 +30,8 @@ L_ShouldNotBeHere: end; OnInit: - setarray $@illia_common_rewards$, "SteelShield", "WarlordHelmet", "KnightsHelmet", "InfantryHelmet", "CrusadeHelmet", "ChainmailShirt", "LightPlatemail", "WarlordPlate", "Setzer", "RockKnife", "WarlordBoots", "ForestArmor", "ForestBow", "WoodenStaff", "WizardHat", "WoodenShield", "ShortSword", "SilkRobe", "LeatherGloves", "BoneKnife", "JeansChaps", "PointyWitchHat", "AssassinPants", "AssassinGloves", "AssassinBoots"; - setarray $@illia_common_rewards_n$, "Steel Shield", "Warlord Helmet", "Knights Helmet", "Infantry Helmet", "Crusade Helmet", "Chainmail Shirt", "Light Platemail", "Warlord Plate", "Setzer", "Rock Knife", "Warlord Boots", "Forest Armor", "Forest Bow", "Wooden Staff", "Wizard Hat", "Wooden Shield", "Short Sword", "Silk Robe", "Leather Gloves", "Bone Knife", "Jeans Chaps", "Pointy Witch Hat", "Assassin Pants", "Assassin Gloves", "Assassin Boots"; + setarray $@illia_common_rewards$, "SteelShield", "WarlordHelmet", "KnightsHelmet", "InfantryHelmet", "CrusadeHelmet", "ChainmailShirt", "LightPlatemail", "WarlordPlate", "Setzer", "RockKnife", "WarlordBoots", "ForestArmor", "ForestBow", "WoodenStaff", "WizardHat", "ShortSword", "BoneKnife", "JeansChaps", "PointyWitchHat", "AssassinPants", "AssassinGloves", "AssassinBoots"; + setarray $@illia_common_rewards_n$, "Steel Shield", "Warlord Helmet", "Knights Helmet", "Infantry Helmet", "Crusade Helmet", "Chainmail Shirt", "Light Platemail", "Warlord Plate", "Setzer", "Rock Knife", "Warlord Boots", "Forest Armor", "Forest Bow", "Wooden Staff", "Wizard Hat", "Short Sword", "Bone Knife", "Jeans Chaps", "Pointy Witch Hat", "Assassin Pants", "Assassin Gloves", "Assassin Boots"; setarray $@illia_unique_rewards$, "BullHelmet", "BansheeBow", "HeartOfIsis", "LazuriteRobe", "AssassinShirt"; setarray $@illia_unique_rewards_n$, "Bull Helmet", "Banshee Bow", "Heart of Isis", "Lazurite Robe", "Assassin Shirt"; end; diff --git a/world/map/npc/functions/doomsday.txt b/world/map/npc/functions/doomsday.txt index 794bcac2..7bd6fa9c 100644 --- a/world/map/npc/functions/doomsday.txt +++ b/world/map/npc/functions/doomsday.txt @@ -600,6 +600,31 @@ L_Doomsday3Cleanup: set $@DD_LOC$, ""; end; +// Bonus spawn +L_Doomsday3Bonus: + announce "Jande: Stray minions from Zax De'Kagen were sighted all over the world!", 0; + + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + monster "031-1", 62, 49, "", $@doomsday_mobs[$@DD_IDX], 1; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + monster "018-1", 136, 71, "", $@doomsday_mobs[$@DD_IDX], 1; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + monster "002-1", 97, 86, "", $@doomsday_mobs[$@DD_IDX], 1; + + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "017-1", 169, 49, 198, 77, "", $@doomsday_mobs[$@DD_IDX], 1; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "012-1", 20, 47, 74, 77, "", $@doomsday_mobs[$@DD_IDX], 2; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "057-1", 115, 50, 140, 75, "", $@doomsday_mobs[$@DD_IDX], 2; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "046-1", 58, 49, 92, 70, "", $@doomsday_mobs[$@DD_IDX], 2; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "034-1", 83, 51, 121, 98, "", $@doomsday_mobs[$@DD_IDX], 2; + setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs)); + areamonster "003-4", 20, 20, 85, 60, "", $@doomsday_mobs[$@DD_IDX], 2; + end; + //////////////////////////////////////////////////////////////////////////////// // Respawn logic (5 minutes) OnTimer300000: @@ -616,10 +641,10 @@ L_TimerFinish: stopnpctimer; end; -// Act 3 clock handlers +// Act 3 clock handlers [1] OnClock1750: if ($@DOOMSDAY_SKIP) - goto L_Doomsday3Skip; + end; if ($DOOMSDAY == 2) goto L_Doomsday3Init; end; @@ -637,6 +662,32 @@ OnClock1845: goto L_Doomsday3Check; end; +// Act 3 clock handlers [2] +OnClock2350: + if ($@DOOMSDAY_SKIP) + end; + if ($DOOMSDAY == 2) + goto L_Doomsday3Init; + end; + +OnClock0000: + if ($@DOOMSDAY_SKIP) + goto L_Doomsday3Skip; + if ($DOOMSDAY == 2) + goto L_Doomsday3; + end; + +OnClock0045: + if ($DOOMSDAY == 2) + goto L_Doomsday3Check; + end; + +// Act 3 clock handlers [3] +OnClock0900: + if ($DOOMSDAY == 2) + goto L_Doomsday3Bonus; + end; + //////////////////////////////////////////////////////////////////////////////// // Puppet labels OnDeathMapname: @@ -669,6 +720,7 @@ OnInit: if (puppet("001-2", 110, 22, "Valia#_DT", 370) < 1) mapexit; if (puppet("001-2", 117, 24, "Waric#_DT", 153) < 1) mapexit; if (puppet("001-2", 117, 30, "Golbenez#_DT", 307) < 1) mapexit; + if (puppet("001-2", 110, 32, "Numa#_DT", 393) < 1) mapexit; // Hurnscald room (Doomsday Hurns: _DH) if (puppet("069-2", 101, 85, "Sagatha#_DH", 167) < 1) mapexit; @@ -678,6 +730,7 @@ OnInit: if (puppet("069-2", 112, 85, "Valia#_DH", 370) < 1) mapexit; if (puppet("069-2", 119, 87, "Waric#_DH", 153) < 1) mapexit; if (puppet("069-2", 119, 93, "Golbenez#_DH", 307) < 1) mapexit; + if (puppet("069-2", 112, 95, "Numa#_DH", 393) < 1) mapexit; // Nivalis room (Doomsday Nivalis: _DN) if (puppet("048-2", 113, 86, "Sagatha#_DN", 167) < 1) mapexit; @@ -687,6 +740,7 @@ OnInit: if (puppet("048-2", 118, 85, "Valia#_DN", 370) < 1) mapexit; if (puppet("048-2", 117, 86, "Waric#_DN", 153) < 1) mapexit; if (puppet("048-2", 119, 86, "Golbenez#_DN", 307) < 1) mapexit; + if (puppet("048-2", 118, 87, "Numa#_DN", 393) < 1) mapexit; // Disable puppets disablenpc "Sagatha#_DT"; @@ -696,6 +750,7 @@ OnInit: disablenpc "Valia#_DT"; disablenpc "Waric#_DT"; disablenpc "Golbenez#_DT"; + disablenpc "Numa#_DT"; disablenpc "Sagatha#_DH"; disablenpc "Elanore#_DH"; @@ -704,6 +759,7 @@ OnInit: disablenpc "Valia#_DH"; disablenpc "Waric#_DH"; disablenpc "Golbenez#_DH"; + disablenpc "Numa#_DH"; disablenpc "Sagatha#_DN"; disablenpc "Elanore#_DN"; @@ -712,6 +768,7 @@ OnInit: disablenpc "Valia#_DN"; disablenpc "Waric#_DN"; disablenpc "Golbenez#_DN"; + disablenpc "Numa#_DN"; end; } @@ -735,6 +792,7 @@ L_Main: "[GM 40] Enable Valia", L_Valia, "[GM 40] Enable Waric", L_Waric, "[GM 40] Enable Golbenez", L_Golbenez, + "[GM 98] Enable Numa", L_Numa, "[GM 40] Disable Sagatha", L_NoSagatha, "[GM 40] Disable Elanore", L_NoElanore, "[GM 40] Disable Nikolai", L_NoNikolai, @@ -742,6 +800,7 @@ L_Main: "[GM 40] Disable Valia", L_NoValia, "[GM 40] Disable Waric", L_NoWaric, "[GM 40] Disable Golbenez", L_NoGolbenez, + "[GM 98] Disable Numa", L_NoNuma, "[GM 60] Cancel Next Siege", L_SkipSiege, "[GM 80] Dismiss the council", L_Dismiss; @@ -794,6 +853,21 @@ L_NoGolbenez: disablenpc "Golbenez#"+@n$[1]; goto L_Main; +L_Numa: + if (GM < G_SYSOP) + mes "Your GM level does not authorizes you to perform this operation."; + if (GM < G_SYSOP) + close; + enablenpc "Numa#"+@n$[1]; + goto L_Main; +L_NoNuma: + if (GM < G_SYSOP) + mes "Your GM level does not authorizes you to perform this operation."; + if (GM < G_SYSOP) + close; + disablenpc "Numa#"+@n$[1]; + goto L_Main; + L_Dismiss: if (GM < G_ADMIN) mes "Your GM level does not authorizes you to perform this operation."; diff --git a/world/map/npc/magic/event-summon-managuardian.txt b/world/map/npc/magic/event-summon-managuardian.txt index ef1b1f88..e18c08ce 100644 --- a/world/map/npc/magic/event-summon-managuardian.txt +++ b/world/map/npc/magic/event-summon-managuardian.txt @@ -11,7 +11,7 @@ OnCast: if (@ddcooldown > gettimetick(2)) goto L_Cooldown; delitem "TinyManaElixir", 1; set @_M_BLOCK, 1; // block casting, until the timer clears it - addtimer 60000, "Magic Timer::OnClear"; // set the new debuff + addtimer 15000, "Magic Timer::OnClear"; // set the new debuff callfunc "adjust_spellpower"; set Sp, Sp - 100; misceffect FX_MAGIC_MAGGOT_CAST, strcharinfo(0); |