|
|
@ -650,6 +650,25 @@ namespace PlayerTests |
|
|
|
Assert::IsTrue(player->HasEnchant("Attack Boost")); |
|
|
|
Assert::IsTrue(player->HasEnchant("Attack Boost")); |
|
|
|
woodenSword.lock()->EnchantItem("Mana Pool"); |
|
|
|
woodenSword.lock()->EnchantItem("Mana Pool"); |
|
|
|
Assert::IsTrue(player->HasEnchant("Mana Pool")); |
|
|
|
Assert::IsTrue(player->HasEnchant("Mana Pool")); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inventory::UnequipItem(EquipSlot::HELMET); |
|
|
|
|
|
|
|
Inventory::UnequipItem(EquipSlot::ARMOR); |
|
|
|
|
|
|
|
Inventory::UnequipItem(EquipSlot::PANTS); |
|
|
|
|
|
|
|
Inventory::UnequipItem(EquipSlot::GLOVES); |
|
|
|
|
|
|
|
Inventory::UnequipItem(EquipSlot::SHOES); |
|
|
|
|
|
|
|
Inventory::UnequipItem(EquipSlot::WEAPON); |
|
|
|
|
|
|
|
Inventory::UnequipItem(EquipSlot::RING1); |
|
|
|
|
|
|
|
Inventory::UnequipItem(EquipSlot::RING2); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Assert::IsFalse(player->HasEnchant("Emergency Recovery")); |
|
|
|
|
|
|
|
Assert::IsFalse(player->HasEnchant("Reaper of Souls")); |
|
|
|
|
|
|
|
Assert::IsFalse(player->HasEnchant("Attack Boost")); |
|
|
|
|
|
|
|
Assert::IsFalse(player->HasEnchant("Wizard's Soul")); |
|
|
|
|
|
|
|
Assert::IsFalse(player->HasEnchant("Ability Haste")); |
|
|
|
|
|
|
|
Assert::IsFalse(player->HasEnchant("Improved Ground Slam")); |
|
|
|
|
|
|
|
Assert::IsFalse(player->HasEnchant("Battle Shout"));
|
|
|
|
|
|
|
|
Assert::IsFalse(player->HasEnchant("Attack Boost")); |
|
|
|
|
|
|
|
Assert::IsFalse(player->HasEnchant("Mana Pool")); |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |