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

Closed
opened 3 years ago by neatz09 · 3 comments
neatz09 commented 3 years ago

--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 commented 3 years ago
Collaborator

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 commented 3 years ago
Collaborator

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 commented 3 years ago
Collaborator

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 referenced this issue from a commit 3 years ago
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.