mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Magic numbers bad (#1373)
This commit is contained in:
committed by
GitHub
parent
71e9dd5a3c
commit
f0d0c83710
+1
-1
@@ -204,7 +204,7 @@ void Client::ProcessItemCaps()
|
||||
// The Sleeper Tomb Avatar proc counts towards item ATK
|
||||
// The client uses a 100 here, so using a 100 here the client and server will agree
|
||||
// For example, if you set the effect to be 200 it will get 100 item ATK and 100 spell ATK
|
||||
if (IsValidSpell(2434) && FindBuff(2434)) {
|
||||
if (IsValidSpell(SPELL_AVATAR_ST_PROC) && FindBuff(SPELL_AVATAR_ST_PROC)) {
|
||||
itembonuses.ATK += 100;
|
||||
spellbonuses.ATK -= 100;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user