diff options
author | Vincent Petithory <vincent.petithory@gmail.com> | 2012-12-17 13:17:51 +0100 |
---|---|---|
committer | Vincent Petithory <vincent.petithory@gmail.com> | 2012-12-17 19:55:26 +0100 |
commit | d5641f60b0273236d9446a53fde6812e6aafbd0b (patch) | |
tree | c4b2eb3d8cff46abfcb49e69411e85df17baba8b /world | |
parent | 514eabe0cc70c9f3800cc62cf1e9e2eb5dd483e0 (diff) | |
download | serverdata-d5641f60b0273236d9446a53fde6812e6aafbd0b.tar.gz serverdata-d5641f60b0273236d9446a53fde6812e6aafbd0b.tar.bz2 serverdata-d5641f60b0273236d9446a53fde6812e6aafbd0b.tar.xz serverdata-d5641f60b0273236d9446a53fde6812e6aafbd0b.zip |
Add Illia developer panel to visualize quest data
Diffstat (limited to 'world')
-rw-r--r-- | world/map/npc/007-1/witch.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/world/map/npc/007-1/witch.txt b/world/map/npc/007-1/witch.txt index 94707f11..6d0db675 100644 --- a/world/map/npc/007-1/witch.txt +++ b/world/map/npc/007-1/witch.txt @@ -23,6 +23,9 @@ set @illia_iced_water, 4; set @illia_min_level, 90; + if (getgmlevel() >= 40 && getequipid(equip_head) == 647 && (strcharinfo(0) == "AdminJen" || strcharinfo(0) == "V0id")) + goto L_DeveloperBoard; + if (BaseLevel < @illia_min_level) goto L_Unexperienced; if ($@ILLIA_STATUS == 0) goto L_Introduce; if ($@ILLIA_STATUS == 1) goto L_PreparingSpell; @@ -31,6 +34,32 @@ if ($@ILLIA_STATUS >= 4) goto L_AlreadyBegun; end; +L_DeveloperBoard: + mes "[Developer Board]"; + mes "$Illia_Luvia_Harvest: "+$Illia_Luvia_Harvest; + mes "$Illia_Win_Counter: "+$Illia_Win_Counter; + next; + mes "[Developer Board]"; + mes "See winners?"; + menu + "Yes.", L_DeveloperBoardLoopWinners, + "No.", -; + close; + +L_DeveloperBoardLoopWinners: + if (@illia_winner_loop == $Illia_Win_Counter) + goto L_DeveloperBoardLoopClose; + mes "Winner Team " + @illia_winner_loop + ": " + $Illia_Win_Records$[@illia_winner_loop]; + // pager every 10. + if (@illia_winner_loop != 0 && (@illia_winner_loop/10)*10 == @illia_winner_loop) + next; + set @illia_winner_loop, @illia_winner_loop + 1; + goto L_DeveloperBoardLoopWinners; + +L_DeveloperBoardLoopClose: + set @illia_winner_loop, 0; + close; + L_Introduce: if (@illia_go_find_items) goto L_AskTeleportSpellItems; |