Illusion of Vampire Boss Spawn Fixes (#6875)

Fixes an exploit which allowed to spawn Berserk Bomi indefinitely upon first quest completion.

Thanks to @Everade @Atemo
This commit is contained in:
mazvi 2022-04-25 07:06:12 +07:00 committed by GitHub
parent ec3a287831
commit 5d34c7b16b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3907,8 +3907,10 @@ gef_d01_i,81,135,5 script Wizard#ilgf01 4_F_BOMI,5,5,{
specialeffect EF_DEVIL;
mes "[Bomi]";
mes "Oh, no! There is too many toxins in my body. It's getting dangerous!";
if (mobcount("gef_d01_i", "ill_vampire_spawn_bomi::OnMobDead") < 1 && mobcount("gef_d01_i", "ill_vampire_spawn_dracula::OnMobDead") < 1)
if (mobcount("gef_d01_i", "ill_vampire_spawn_bomi::OnMobDead") < 1 && mobcount("gef_d01_i", "ill_vampire_spawn_dracula::OnMobDead") < 1) {
.bomi_count = 0;
donpcevent "ill_vampire_spawn_bomi::OnStart";
}
close;
}
mes "[Bomi]";
@ -3966,7 +3968,6 @@ OnStart:
mapannounce "gef_d01_i", "Oh, no... I can feel the toxins spreading through my body...!", bc_map, 0xFF0000;
if (mobcount("gef_d01_i", "ill_vampire_spawn_bomi::OnMobDead") < 1 && mobcount("gef_d01_i", "ill_vampire_spawn_dracula::OnMobDead") < 1) {
monster "gef_d01_i",84,135,"Berserk Bomi",3756,1,"ill_vampire_spawn_bomi::OnMobDead";
.bomi_count = 0;
}
end;
OnMobDead: