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

Slēgta
neatz09 atvēra 3 gadi atpakaļ · 3 komentāri

--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 komentēja 3 gadi atpakaļ
Līdzstrādnieks

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 komentēja 3 gadi atpakaļ
Līdzstrādnieks

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 komentēja 3 gadi atpakaļ
Līdzstrādnieks

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 pieminēja šo problēmu revīzijā 3 gadi atpakaļ
Pierakstieties, lai pievienotos šai sarunai.
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.