diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-23 07:23:14 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-23 07:23:14 -0300 |
commit | 90356ec4286d66e52968a3a9a4c96172e34dc8f7 (patch) | |
tree | 21e67126602623a1ce5bbd3cf2daea322dda77f8 /npc/011-1 | |
parent | e2695c3f7ff02533f6911fdbb03bf0f507386f35 (diff) | |
download | serverdata-90356ec4286d66e52968a3a9a4c96172e34dc8f7.tar.gz serverdata-90356ec4286d66e52968a3a9a4c96172e34dc8f7.tar.bz2 serverdata-90356ec4286d66e52968a3a9a4c96172e34dc8f7.tar.xz serverdata-90356ec4286d66e52968a3a9a4c96172e34dc8f7.zip |
function dearLord for @Aeon - Or whoever beats him to it!!
Diffstat (limited to 'npc/011-1')
-rw-r--r-- | npc/011-1/manastone.txt | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/npc/011-1/manastone.txt b/npc/011-1/manastone.txt index dcc4142c7..3d8df2b5e 100644 --- a/npc/011-1/manastone.txt +++ b/npc/011-1/manastone.txt @@ -20,6 +20,7 @@ // .jlvl => Jlv Increment 011-1,0,0,0 script Mana Stone NPC_MANA_STONE,{ + function dearLord; if (BaseLevel < $MANA_BLVL) goto L_NotWorthy; mesn; @@ -54,6 +55,7 @@ L_Level: if (mstone(4)) goto L_LevelUp; if (mstone(5)) goto L_LevelUp; if (mstone(6)) goto L_LevelUp; + if (MAGIC_LVL >= 7) dearLord(); if (MAGIC_LVL >= 7) npctalk3 l("You already got all power I could grant you!"); if (is_gm()) percentheal -20, -50; if (MAGIC_LVL >= 7 || is_gm()) close; @@ -84,6 +86,20 @@ L_LevelUp: die(); close; +function dearLord { + if ($MANASTONE_WINNER$ == "") { + $MANASTONE_WINNER$=strcharinfo(0); + channelmes("#world", $MANASTONE_WINNER$+" is the first player to reach "+get_race()+"'s magic limit since the Monster King! %%N"); + announce "All hail ##B"+$MANASTONE_WINNER$+"##b, first to reach "+get_race()+"'s magic limit since the Monster King! %%N", bc_all|bc_npc; + getexp 0, 2000; + getitem SupremeGift, 1; + mesc l("CONGRATULATIONS! You are the first player to harness all power the Mana Stone would willingly give!"), 2; + mesc l("You just gained a Supreme Gift, and 2000 Job Exp for your bravery!"), 2; + next; + } + return; +} + OnInit: movenpc .name$, 20+rand(150), 20+rand(150); .sex = G_OTHER; @@ -117,5 +133,4 @@ OnClock2340: npctalk "Those who are worthy, may get my magic. For the others, death awaits!"; movenpc .name$, 20+rand(150), 20+rand(150); end; - } |