diff options
author | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2022-11-17 13:37:20 +0000 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2022-11-17 13:37:20 +0000 |
commit | 1c3b142131b4a3f987ed8667d9e72ad1dda09065 (patch) | |
tree | 7e61e57523062bdbee2a39c7e95897ce57c32cf7 /src/map/script-fun.t.hpp | |
parent | de1a0ca22db4a49345b02b653efa3091cd08a2db (diff) | |
parent | 148ab787d51c7c9c71540f799d37fb748cf19135 (diff) | |
download | tmwa-1c3b142131b4a3f987ed8667d9e72ad1dda09065.tar.gz tmwa-1c3b142131b4a3f987ed8667d9e72ad1dda09065.tar.bz2 tmwa-1c3b142131b4a3f987ed8667d9e72ad1dda09065.tar.xz tmwa-1c3b142131b4a3f987ed8667d9e72ad1dda09065.zip |
Merge branch 'mobinfo' into 'master'
Mobinfo
See merge request legacy/tmwa!237
Diffstat (limited to 'src/map/script-fun.t.hpp')
-rw-r--r-- | src/map/script-fun.t.hpp | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/src/map/script-fun.t.hpp b/src/map/script-fun.t.hpp new file mode 100644 index 0000000..d0c753b --- /dev/null +++ b/src/map/script-fun.t.hpp @@ -0,0 +1,96 @@ +#pragma once +// script-fun.t.hpp - EAthena script frontend, engine, and library. +// +// Copyright © ????-2004 Athena Dev Teams +// Copyright © 2004-2011 The Mana World Development Team +// Copyright © 2011-2014 Ben Longbons <b.r.longbons@gmail.com> +// +// This file is part of The Mana World (Athena server) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. + +#include "fwd.hpp" + +namespace tmwa +{ +namespace map +{ +enum class MobInfo : uint8_t +{ + ID = 0, + ENG_NAME = 1, + JAP_NAME = 2, + LVL = 3, + HP = 4, + SP = 5, + BASE_EXP = 6, + JOB_EXP = 7, + RANGE1 = 8, + ATK1 = 9, + ATK2 = 10, + DEF = 11, + MDEF = 12, + STR = 13, + AGI = 14, + VIT = 15, + INT = 16, + DEX = 17, + LUK = 18, + RANGE2 = 19, + RANGE3 = 20, + SCALE = 21, + RACE = 22, + ELEMENT = 23, + ELEMENT_LVL = 24, + MODE = 25, + SPEED = 26, + ADELAY = 27, + AMOTION = 28, + DMOTION = 29, + MUTATION_NUM = 30, + MUTATION_POWER = 31, + DROPID1 = 32, + DROPNAME1 = 33, + DROPPERCENT1 = 34, + DROPID2 = 35, + DROPNAME2 = 36, + DROPPERCENT2 = 37, + DROPID3 = 38, + DROPNAME3 = 39, + DROPPERCENT3 = 40, + DROPID4 = 41, + DROPNAME4 = 42, + DROPPERCENT4 = 43, + DROPID5 = 44, + DROPNAME5 = 45, + DROPPERCENT5 = 46, + DROPID6 = 47, + DROPNAME6 = 48, + DROPPERCENT6 = 49, + DROPID7 = 50, + DROPNAME7 = 51, + DROPPERCENT7 = 52, + DROPID8 = 53, + DROPNAME8 = 54, + DROPPERCENT8 = 55, +}; + +enum class MobInfo_DropArrays : uint8_t +{ + IDS = 0, + NAMES = 1, + PERCENTS = 2, +}; +} // namespace map +} // namespace tmwa |