Fix Hork Demon and Nakrul drops in multiplayer
This commit is contained in:
parent
ea0aaa8d2d
commit
30a9595020
5 changed files with 39 additions and 24 deletions
|
|
@ -2468,17 +2468,17 @@ void OperateSlainHero(int pnum, int i)
|
|||
auto &player = Players[pnum];
|
||||
|
||||
if (player._pClass == HeroClass::Warrior) {
|
||||
CreateMagicArmor(Objects[i].position, ItemType::HeavyArmor, ICURS_BREAST_PLATE, false, true);
|
||||
CreateMagicArmor(Objects[i].position, ItemType::HeavyArmor, ICURS_BREAST_PLATE, true, false);
|
||||
} else if (player._pClass == HeroClass::Rogue) {
|
||||
CreateMagicWeapon(Objects[i].position, ItemType::Bow, ICURS_LONG_BATTLE_BOW, false, true);
|
||||
CreateMagicWeapon(Objects[i].position, ItemType::Bow, ICURS_LONG_BATTLE_BOW, true, false);
|
||||
} else if (player._pClass == HeroClass::Sorcerer) {
|
||||
CreateSpellBook(Objects[i].position, SPL_LIGHTNING, false, true);
|
||||
CreateSpellBook(Objects[i].position, SPL_LIGHTNING, true, false);
|
||||
} else if (player._pClass == HeroClass::Monk) {
|
||||
CreateMagicWeapon(Objects[i].position, ItemType::Staff, ICURS_WAR_STAFF, false, true);
|
||||
CreateMagicWeapon(Objects[i].position, ItemType::Staff, ICURS_WAR_STAFF, true, false);
|
||||
} else if (player._pClass == HeroClass::Bard) {
|
||||
CreateMagicWeapon(Objects[i].position, ItemType::Sword, ICURS_BASTARD_SWORD, false, true);
|
||||
CreateMagicWeapon(Objects[i].position, ItemType::Sword, ICURS_BASTARD_SWORD, true, false);
|
||||
} else if (player._pClass == HeroClass::Barbarian) {
|
||||
CreateMagicWeapon(Objects[i].position, ItemType::Axe, ICURS_BATTLE_AXE, false, true);
|
||||
CreateMagicWeapon(Objects[i].position, ItemType::Axe, ICURS_BATTLE_AXE, true, false);
|
||||
}
|
||||
Players[MyPlayerId].Say(HeroSpeech::RestInPeaceMyFriend);
|
||||
if (pnum == MyPlayerId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue