Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Instance] Old Gast Heim Hard Mode #362

Open
poporing opened this issue Aug 6, 2017 · 1 comment
Open

[Instance] Old Gast Heim Hard Mode #362

poporing opened this issue Aug 6, 2017 · 1 comment

Comments

@poporing
Copy link

poporing commented Aug 6, 2017

Hi,
Old glast heim missing the nightmare part and some npc
Here is the complete script. It's also fixed some issue with the last mvp that you can make respawn
https://github.com/RagEmu/Renewal/blob/master/npc/instances/OldGlastHeim.txt

@poporing
Copy link
Author

OK only this two npc missing:
// Knight Cards
// White Knight Card cost 70 red coagulated spells or 3000 blue coagulated spells
// Khalitzburg Knight Card cost 100 red coagulated spells or 5000 blue coagulated spells
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
glast_01,188,273,5 script White Knight#1a 4_WHITEKNIGHT,{
disable_items;
mes("[White Knight]"); // custom
if (MaxWeight - Weight < 1000) {
mes("Your bag is too heavy. Reduce some weight and come back.");
close;
}
mes("I exchange you a White Knight Card for ^0000FF3000 Coagulated Spell^000000 or ^FF000070 Contaminated Magic^000000.");
mes("White Knight Card4608");
next;
setarray .@item[0], Coagulated_Spell, Corrupted_Charm;
setarray .@cost[0], 3000, 70;
.@select = select("Cancel", "^0000FFUse Coagulated Spell^000000", "^FF0000UseContaminated Magic^000000");
switch (.@select) {
case 1:
mes("[White Knight]");
mes("Come back any time.");
close;
case 2:
case 3:
.@item = .@item[.@select-2];
.@cost = .@cost[.@select-2];
if (countitem(.@item) < .@cost) {
mes("[White Knight]");
mesf("Requires ^0000FF%d %s^000000.", .@cost, getitemname(.@item));
close;
}
delitem .@item, .@cost;
getitem White_Knightage_Card, 1;
close;
}
}

glast_01,192,273,3 script Khalitzburg Knight#1a 4_F_KHALITZBURG,{
disable_items;
mes("[Khalitzburg Knight]"); // custom
if (MaxWeight - Weight < 1000) {
mes("Your bag is too heavy. Reduce some weight and come back.");
close;
}
mes("I exchange you a Khalitzburg Knight Card for ^0000FF5000 Coagulated Spell^000000 or ^FF0000100 Contaminated Magic^000000.");
mes("Khalitzburg Knight Card4609");
next;
setarray .@item[0], Coagulated_Spell, Corrupted_Charm;
setarray .@cost[0], 5000, 100;
.@select = select("Cancel", "^0000FFUse Coagulated Spell^000000", "^FF0000UseContaminated Magic^000000");
switch (.@select) {
case 1:
mes("[Khalitzburg Knight]");
mes("Come back any time.");
close;
case 2:
case 3:
.@item = .@item[.@select-2];
.@cost = .@cost[.@select-2];
if (countitem(.@item) < .@cost) {
mes("[Khalitzburg Knight]");
mesf("Requires ^0000FF%d %s^000000.", .@cost, getitemname(.@item));
close;
}
delitem .@item, .@cost;
getitem Khali_Knightage_Card, 1;
close;
}
}

you moved the nightmare part sorry

@exneval exneval changed the title Update old glast heim Old Gast Heim Hard Mode Jun 16, 2018
@exneval exneval changed the title Old Gast Heim Hard Mode [Instance] Old Gast Heim Hard Mode Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants