mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
CLISetup/OSCompatibility
- generally check for readline handler - only ignore \r for WIN
This commit is contained in:
@@ -176,7 +176,7 @@ class SpellList extends BaseType
|
||||
if ($mv < 0) // all stats
|
||||
{
|
||||
for ($iMod = ITEM_MOD_AGILITY; $iMod <= ITEM_MOD_STAMINA; $iMod++)
|
||||
Util::arraySumByKey($stats, [iMod => $pts]);
|
||||
Util::arraySumByKey($stats, [$iMod => $pts]);
|
||||
}
|
||||
else if ($mv == STAT_STRENGTH) // one stat
|
||||
Util::arraySumByKey($stats, [ITEM_MOD_STRENGTH => $pts]);
|
||||
|
||||
Reference in New Issue
Block a user