#297 Food/Drink needs a coded stack prevention, level code, and possibly a rule

Cerrada
abierta hace 3 años por neatz09 · 3 comentarios

--food and drink must expire before another can be consumed --food/drink also functions differently based on level --also may want to add a rule to restrict use based on level as well

--food and drink must expire before another can be consumed --food/drink also functions differently based on level --also may want to add a rule to restrict use based on level as well
image comentado hace 3 años
Colaborador

We don't have a way to distinguish a normal spell vs food/drink. I would say we add two new spell types

#define SPELL_TYPE_FOOD 13
#define SPELL_TYPE_DRINK 14
alter table spells modify column spell_type enum('Unset', 'DD', 'DoT', 'Heal', 'HoT-Ward', 'Debuff', 'Buff', 'CombatBuff', 'Taunt', 'Detaunt', 'Rez', 'Cure', 'Food', 'Drink') NOT NULL default 'Unset';
We don't have a way to distinguish a normal spell vs food/drink. I would say we add two new spell types ``` #define SPELL_TYPE_FOOD 13 #define SPELL_TYPE_DRINK 14 ``` ``` alter table spells modify column spell_type enum('Unset', 'DD', 'DoT', 'Heal', 'HoT-Ward', 'Debuff', 'Buff', 'CombatBuff', 'Taunt', 'Detaunt', 'Rez', 'Cure', 'Food', 'Drink') NOT NULL default 'Unset'; ```
image comentado hace 3 años
Colaborador

also please verify the messages when you try to consume

believe it was along the lines of

If you eat anymore you would explode!
If you drink anymore you would explode!
also please verify the messages when you try to consume believe it was along the lines of ``` If you eat anymore you would explode! If you drink anymore you would explode! ```
image comentado hace 3 años
Colaborador

also looks like out auto consume is broken it puts me in a weird 3rd person state when I enable it

also looks like out auto consume is broken it puts me in a weird 3rd person state when I enable it
image mencionada esta incidencia en un commit hace 3 años
Inicie sesión para unirse a esta conversación.
Cargando...
Cancelar
Guardar
Aún no existe contenido.