mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-18 03:22:27 +00:00
[Bug Fix] Fix Elemental Illusion spells not using proper texture. (#1691)
This commit is contained in:
parent
062fb73f03
commit
30fdb18945
@ -1446,6 +1446,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
||||
gender_id
|
||||
);
|
||||
|
||||
if (spell.base_value[i] != RACE_ELEMENTAL_75) {
|
||||
if (spell.max_value[i] > 0) {
|
||||
if (spell.limit_value[i] == 0) {
|
||||
SendIllusionPacket(
|
||||
@ -1477,6 +1478,14 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
||||
spell.max_value[i]
|
||||
);
|
||||
}
|
||||
|
||||
} else {
|
||||
SendIllusionPacket(
|
||||
spell.base_value[i],
|
||||
gender_id,
|
||||
spell.limit_value[i]
|
||||
);
|
||||
}
|
||||
SendAppearancePacket(AT_Size, race_size);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user