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

Gesloten
3 jaren geleden werd geopend door neatz09 · 3 opmerkingen

--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 reageerde 3 jaren geleden
Medewerker

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 reageerde 3 jaren geleden
Medewerker

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 reageerde 3 jaren geleden
Medewerker

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 verwees naar dit probleem vanuit een commit 3 jaren geleden'
image gesloten om 3 jaren geleden
Sign in to join this conversation.
Laden...
Annuleren
Opslaan
Er is nog geen inhoud.