[AddOn]Saviour PQ

Newbie Spellweaver
Joined
Aug 16, 2009
Messages
49
Reaction score
42
Basically, the PQ is to save a girl(name Shumi) which was kidnapped by the Master Guardian living in a black room. Shumi's sister knew about it and asked for heros(2~6players) to enter and save Shumi. MasterGuardian set up 3 gates before entering the black room.

At the First Gate:Player must eliminate all monster without being damaged by them.

At the Second&Third Gate:Players must eliminate all monster in the map without being touch by them.

If user was being touch/damage by the monster, the whole party will be warped out and the quest will fail.

At the Boss Map, user will be casted a spell by Master Guardian which whenever they got damaged by a monster, their HP will turn 50. The party leader must loot "Shumi's Coin" from Master Guardian to complete the quest.

Download(without java edit):

At takedamagehandler.java
add
Code:
 } else if (damage > 0 && player.getMapId() == 240050101 || player.getMapId() == 240050102 || player.getMapId() == 240050103) {
              for (MapleCharacter mch : player.getMap().getCharacters()) {
                mch.dropMessage(6, "The quest have failed.");
               mch.changeMap(240050000);
               }
            
            } else if (damage > 0 && player.getMapId() == 240050310) {
              player.setHp(50);
              player.updateSingleStat(MapleStat.HP, 50);
               }

above
Code:
            direction = slea.readByte();

Add this at Abstractplayerinteraction.java
Code:
public void mapMessage(int type, String message) {
        getPlayer().getMap().broadcastMessage(MaplePacketCreator.serverNotice(type, message));
    }

Done :)
Enjoy.


-DontFlameTy-
 
Last edited by a moderator:
Back