Skip to content

Commit 497aa6c

Browse files
authored
Add files via upload
1 parent ef5e4e7 commit 497aa6c

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

‎Source/items.cpp‎

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4906,21 +4906,27 @@ bool SpawnSpecialMonsterLoot(const Monster &monster, bool sendmsg)
49064906
if (monster.ai == MonsterAIID::Lazarus)
49074907
return SpawnLazarusLoot(monster.position.tile, sendmsg);
49084908

4909-
if (monster.isUnique() && monster.type().type == MT_GBALROG) {
4910-
if (GenerateRnd(100) < SpeedBootsDropPercent)
4911-
return SpawnForcedUnique(monster.position.tile, UITEM_REGHA, sendmsg);
4909+
if (monster.isUnique() && monster.type().type == MT_BSKEL) {
4910+
if (GenerateRnd(100) < InfravisionHelmDropPercent)
4911+
return SpawnForcedUnique(monster.position.tile, UITEM_GLADBANE, sendmsg);
49124912
return false;
49134913
}
49144914

4915-
if (monster.isUnique() && monster.type().type == MT_BSKEL) {
4915+
if (monster.isUnique() && monster.type().type == MT_LSUCCUBUS) {
49164916
if (GenerateRnd(100) < InfravisionHelmDropPercent)
4917+
return SpawnForcedUnique(monster.position.tile, UITEM_EAGLEHORN, sendmsg);
4918+
return false;
4919+
}
4920+
4921+
if (monster.isUnique() && monster.type().type == STORMCLAW) {
4922+
if (GenerateRnd(100) < SpeedBootsDropPercent)
49174923
return SpawnForcedUnique(monster.position.tile, UITEM_SPEEDBOOTS, sendmsg);
49184924
return false;
49194925
}
49204926

4921-
if (monster.isUnique() && monster.type().type == MT_LSUCCUBUS) {
4922-
if (GenerateRnd(100) < InfravisionHelmDropPercent)
4923-
return SpawnForcedUnique(monster.position.tile, UITEM_WINDFORCE, sendmsg);
4927+
if (monster.isUnique() && monster.type().type == MT_GBALROG) {
4928+
if (GenerateRnd(100) < SpeedBootsDropPercent)
4929+
return SpawnForcedUnique(monster.position.tile, UITEM_GRIZZLY, sendmsg);
49244930
return false;
49254931
}
49264932

0 commit comments

Comments
 (0)