update items Flags: DropEffect #5547
Labels
component:core
A fault that lies within the main framework of rAthena
mode:renewal
A fault that exists within the renewal mode
priority:low
A fault that affects rAthena in one piece of functionality and is self-contained
type:bug
Issue that is a bug within rAthena
rdata.grf 6 color
rAthena 5 color
setting
` - Id: 501
AegisName: Red_Potion
Name: Red Potion
Type: Healing
Buy: 10
Weight: 70
Flags:
DropEffect: WHITE_PILLAR
Script: |
itemheal rand(45,65),0;
AegisName: Orange_Potion
Name: Orange Potion
Type: Healing
Buy: 50
Weight: 100
Flags:
DropEffect: BLUE_PILLAR
Script: |
itemheal rand(105,145),0;
AegisName: Yellow_Potion
Name: Yellow Potion
Type: Healing
Buy: 180
Weight: 130
Flags:
DropEffect: YELLOW_PILLAR
Script: |
itemheal rand(175,235),0;
AegisName: White_Potion
Name: White Potion
Type: Healing
Buy: 1200
Weight: 150
Flags:
DropEffect: PURPLE_PILLAR
Script: |
itemheal rand(325,405),0;
AegisName: Blue_Potion
Name: Blue Potion
Type: Healing
Buy: 5000
Weight: 150
Flags:
DropEffect: ORANGE_PILLAR
Script: |
itemheal 0,rand(40,60);
AegisName: Green_Potion
Name: Green Potion
Type: Healing
Buy: 40
Weight: 70
Flags:
DropEffect: CLIENT
BuyingStore: true
Script: |
sc_end SC_POISON; sc_end SC_SILENCE; sc_end SC_BLIND; sc_end SC_CONFUSION; sc_end SC_HALLUCINATION;`
https://github.com/rathena/rathena/blob/master/src/map/itemdb.hpp#L754-L764
/// Enum for item drop effects
enum e_item_drop_effect : uint16 {
DROPEFFECT_NONE = 0,
DROPEFFECT_CLIENT,
DROPEFFECT_WHITE_PILLAR,
DROPEFFECT_BLUE_PILLAR,
DROPEFFECT_YELLOW_PILLAR,
DROPEFFECT_PURPLE_PILLAR,
DROPEFFECT_ORANGE_PILLAR,
DROPEFFECT_MAX
};
The text was updated successfully, but these errors were encountered: