StoneAge/gmsv/char/defaultPlayer.h

373 lines
11 KiB
C
Raw Normal View History

2018-08-07 15:51:35 +08:00
#include "version.h"
static Char player=
{
FALSE, /* use <20>ɤ<EFBFBD><C9A4>Ǥ⤤<C7A4><E2A4A4>*/
{
0, /* CHAR_DATAPLACENUMBER */
0, /* CHAR_BASEIMAGENUMBER */
0, /* CHAR_BASEBASEIMAGENUMBER */
0, /* CHAR_FACEIMAGENUMBER */
0, /* CHAR_FLOOR */
0, /* CHAR_X */
0, /* CHAR_Y */
5, /* CHAR_DIR 12<31><32><EFBFBD><EFBFBD>0<EFBFBD>˻<EFBFBD><CBBB>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD> */
1, /* CHAR_LV */
0, /* CHAR_GOLD */
1, /* CHAR_HP */
0, /* CHAR_MP */
0, /* CHAR_MAXMP */
0, /* CHAR_VITAL */
0, /* CHAR_STR */
0, /* CHAR_TOUGH */
0, /* CHAR_DEX */
0, /* CHAR_CHARM */
0, /* CHAR_LUCK */
0, /* <20><>°<EFBFBD><C2B0> */
0, /* <20><>°<EFBFBD><C2B0> */
0, /* <20><>°<EFBFBD><C2B0> */
0, /* <20><>°<EFBFBD><C2B0> */
0, /* CHAR_SLOT*/
0, /* CHAR_CRITIAL */
0, /* CHAR_COUNTER */
0, /* CHAR_RARE */
0, /* CHAR_RADARSTRLENGTH */
0, /* CHAR_CHATVOLUME */
MAKE2VALUE(100,20), /* CHAR_MERCHANTLEVEL */
0, /* CHAR_HEALERLEVEL */
0, /* CHAR_DETERMINEITEM */
-1, /* CHAR_INDEXOFEQTITLE */
0, /* CHAR_POISON */
0, /* CHAR_PARALYSIS */
0, /* CHAR_SILENCE */
0, /* CHAR_STONE */
0, /* CHAR_DARKNESS */
0, /* CHAR_CONFUSION */
0, /* CHAR_LOGINCOUNT */
0, /* CHAR_DEADCOUNT */
0, /* CHAR_WALKCOUNT */
0, /* CHAR_TALKCOUNT */
0, /* CHAR_DAMAGECOUNT */
0, /* CHAR_GETPETCOUNT */
0, /* CHAR_KILLPETCOUNT */
0, /* CHAR_DEADPETCOUNT */
0, /* CHAR_SENDMAILCOUNT */
0, /* CHAR_MERGEITEMCOUNT */
0, /* CHAR_DUELBATTLECOUNT */
0, /* CHAR_DUELWINCOUNT */
0, /* CHAR_DUELLOSECOUNT */
0, /* CHAR_DUELSTWINCOUNT */
0, /* CHAR_DUELMAXSTWINCOUNT */
CHAR_TYPEPLAYER, /* CHAR_WHICHTYPE */
1000, /* CHAR_WALKINTERVAL */
1000, /* CHAR_LOOPINTERVAL */
#ifdef _NEWOPEN_MAXEXP
0, // CHAR_OLDEXP,
#endif
0, // CHAR_EXP,
-1, /* CHAR_LASTTALKELDER*/
0, /* CHAR_SKILLUPPOINT */
0, /* CHAR_LEVELUPPOINT */
0, /* CHAR_IMAGETYPE */
CHAR_COLORWHITE, /* CHAR_NAMECOLOR */
CHAR_COLORWHITE, /* CHAR_POPUPNAMECOLOR */
0, /* CHAR_LASTTIMESETLUCK */
100, /* CHAR_DUELPOINT */
0, /* CHAR_EVENT */
0, /* CHAR_EVENT2 */
0, /* CHAR_EVENT3 */
#ifdef _NEWEVENT
0, /* CHAR_EVENT4 */
0, /* CHAR_EVENT5 */
0, /* CHAR_EVENT6 */
#endif
#ifdef _ADD_NEWEVENT
0, /* CHAR_EVENT7 */
0, /* CHAR_EVENT8 */
#endif
0, /* CHAR_NOWEVENT */
0, /* CHAR_NOWEVENT2 */
0, /* CHAR_NOWEVENT3 */
#ifdef _NEWEVENT
0, /* CHAR_NOWEVENT4 */
0, /* CHAR_NOWEVENT5 */
0, /* CHAR_NOWEVENT6 */
#endif
#ifdef _ADD_NEWEVENT
0, /* CHAR_NOWEVENT7 */
0, /* CHAR_NOWEVENT8 */
#endif
0, /* CHAR_TRANSMIGRATION */
0, /* CHAR_TRANSEQUATION */
0, /* CHAR_INITDATA */
//#ifdef _PETSKILL_BECOMEPIG
// -1,
//#endif
0, //CHAR_SILENT, /* char shutup time */
0, // CHAR_FMINDEX, // <20>a<EFBFBD><61> index
0, // CHAR_FMLEADERFLAG,
/* <20>a<EFBFBD>ڦ<EFBFBD><DAA6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* FMMEMBER_NONE :<EFBFBD>S<EFBFBD><EFBFBD><EFBFBD>[<EFBFBD>J<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>a<EFBFBD><EFBFBD>
* FMMEMBER_APPLY :<EFBFBD>ӽХ[<EFBFBD>J<EFBFBD>a<EFBFBD>ڤ<EFBFBD>
* FMMEMBER_LEADER :<EFBFBD>ڪ<EFBFBD>
* FMMEMBER_MEMBER :<EFBFBD>@<EFBFBD><EFBFBD><EFBFBD>
* FMMEMBER_ELDER :<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* FMMEMBER_INVITE :<EFBFBD><EFBFBD><EFBFBD>q // <20>Ȯɤ<C8AE><C9A4><EFBFBD>
* FMMEMBER_BAILEE :<EFBFBD>]<EFBFBD>Ȫ<EFBFBD> // <20>Ȯɤ<C8AE><C9A4><EFBFBD>
* FMMEMBER_VICELEADER :<EFBFBD>Ʊڪ<EFBFBD> // <20>Ȯɤ<C8AE><C9A4><EFBFBD>
*/
0, // CHAR_FMSPRITE, // <20>a<EFBFBD>ڦu<DAA6>@<40><><EFBFBD>F
0, // CHAR_BANKGOLD,
0, // CHAR_RIDEPET,
0, // CHAR_LEARNRIDE,
#ifdef _NEW_RIDEPETS
0, // CHAR_LOWRIDEPETS,
#endif
0, // CHAR_LIMITLEVEL,
#ifdef _PET_FUSION
0, // CHAR_FUSIONCODE, //<2F><><EFBFBD>ؽs<D8BD>X
0, // CHAR_FUSIONINDEX, //<2F><><EFBFBD><EFBFBD><EFBFBD>d<EFBFBD><64><EFBFBD>s<EFBFBD><73>
0, // CHAR_FUSIONRAISE, //<2F><><EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD>
0, // CHAR_FUSIONBEIT, //<2F>d<EFBFBD>J<EFBFBD>X<EFBFBD><58>
0, // CHAR_FUSIONTIMELIMIT, //<2F><><EFBFBD>i<EFBFBD>ɶ<EFBFBD>
#endif
#ifdef _DEATH_CONTEND
0, // CHAR_PKLISTTEAMNUM,
0, // CHAR_PKLISTLEADER,
#endif
#ifdef _PERSONAL_FAME // Arminius 8.30: <20>a<EFBFBD>ڭӤH<D3A4>n<EFBFBD><6E>
0, // CHAR_FAME,
#endif
#ifdef _NEWSAVE
0, // CHAR_SAVEINDEXNUMBER, /* SaveFile .0.char or .1.char */
#endif
#ifdef __ATTACK_MAGIC
0, // CHAR_EARTH_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD>a<EFBFBD>]<5D>k<EFBFBD><6B><EFBFBD>m<EFBFBD><6D>
0, // CHAR_WATER_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD><6B><EFBFBD>m<EFBFBD><6D>
0, // CHAR_FIRE_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD><6B><EFBFBD>m<EFBFBD><6D>
0, // CHAR_WIND_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD><6B><EFBFBD>m<EFBFBD><6D>
0, // CHAR_EARTH_RESIST, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD>a<EFBFBD>]<5D>k<EFBFBD>ܩ<EFBFBD>
0, // CHAR_WATER_RESIST, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD>ܩ<EFBFBD>
0, // CHAR_FIRE_RESIST, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD>ܩ<EFBFBD>
0, // CHAR_WIND_RESIST, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD>ܩ<EFBFBD>
0, // CHAR_EARTH_ATTMAGIC_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD>a<EFBFBD>]<5D>k<EFBFBD><6B><EFBFBD>m<EFBFBD>׸g<D7B8><67><EFBFBD><EFBFBD>
0, // CHAR_WATER_ATTMAGIC_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD><6B><EFBFBD>m<EFBFBD>׸g<D7B8><67><EFBFBD><EFBFBD>
0, // CHAR_FIRE_ATTMAGIC_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD><6B><EFBFBD>m<EFBFBD>׸g<D7B8><67><EFBFBD><EFBFBD>
0, // CHAR_WIND_ATTMAGIC_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD><6B><EFBFBD>m<EFBFBD>׸g<D7B8><67><EFBFBD><EFBFBD>
0, // CHAR_EARTH_DEFMAGIC_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD>a<EFBFBD>]<5D>k<EFBFBD>ܩʸg<CAB8><67><EFBFBD><EFBFBD>
0, // CHAR_WATER_DEFMAGIC_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD>ܩʸg<CAB8><67><EFBFBD><EFBFBD>
0, // CHAR_FIRE_DEFMAGIC_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD>ܩʸg<CAB8><67><EFBFBD><EFBFBD>
0, // CHAR_WIND_DEFMAGIC_EXP, // <20><><EFBFBD>a<EFBFBD><61><EFBFBD><EFBFBD><EFBFBD>]<5D>k<EFBFBD>ܩʸg<CAB8><67><EFBFBD><EFBFBD>
#endif
#ifdef _GAMBLE_BANK
0, // CHAR_PERSONAGOLD, //<2F><><EFBFBD><EFBFBD><EFBFBD>ӤH<D3A4>Ȧ<EFBFBD>
#endif
#ifdef _DROPSTAKENEW
0, // CHAR_GAMBLENUM, //<2F><><EFBFBD><EFBFBD><EFBFBD>n<EFBFBD><6E>
#endif
#ifdef _ADD_ACTION //npc<70>ʧ@
0, // CHAR_ACTIONSTYLE,
#endif
#ifdef _AUCTIONEER
0, // CHAR_AUCGOLD, // <20><><EFBFBD><EFBFBD><EFBFBD>ұo
#endif
#ifdef _PET_EVOLUTION
0, // CHAR_EVOLUTIONBASEVTL,
0, // CHAR_EVOLUTIONBASESTR,
0, // CHAR_EVOLUTIONBASETGH,
0, // CHAR_EVOLUTIONBASEDEX,
#endif
#ifdef _ACTION_BULLSCR
0, // CHAR_ABULLSTART,
0, // CHAR_ABULLSCORE,
0, // CHAR_ABULLTIME,
0, // CHAR_ABULLSTARTTIME,
#endif
#ifdef _ACTION_GMQUE
0, // CHAR_GMQUEFLG,
0, // CHAR_GMQUENUMS,
#endif
#ifdef _FAMILYBANKSTONELOG
0, // CHAR_FMBANKGOLD, //<2F>a<EFBFBD>ڻȦ<DABB><C8A6>s<EFBFBD><73>
#endif
#ifdef _FM_JOINLIMIT
0, // CHAR_FMTIMELIMIT,
#endif
#ifdef _CHAR_PROFESSION // WON ADD <20>H<EFBFBD><48>¾<EFBFBD>~
0, // PROFESSION_CLASS, // ¾<>~<7E>O
0, // PROFESSION_LEVEL, // ¾<>~<7E><><EFBFBD><EFBFBD>
// 0, // PROFESSION_EXP, // ¾<>~<7E>g<EFBFBD><67><EFBFBD><EFBFBD>
0, // PROFESSION_SKILL_POINT, // <20>ޯ<EFBFBD><DEAF>I<EFBFBD><49>
0, // ATTACHPILE, // <20>W<EFBFBD>[<5B><><EFBFBD>|
0, // PROFESSION_FIRE_P, // <20><><EFBFBD><EFBFBD><EFBFBD>m<EFBFBD><6D>
0, // PROFESSION_ICE_P, // <20>B<EFBFBD><42><EFBFBD>m<EFBFBD><6D>
0, // PROFESSION_THUNDER_P, // <20>p<EFBFBD><70><EFBFBD>m<EFBFBD><6D>
0, // PROFESSION_FIRE_R, // <20><><EFBFBD>ܩ<EFBFBD>
0, // PROFESSION_ICE_R, // <20>B<EFBFBD>ܩ<EFBFBD>
0, // PROFESSION_THUNDER_R, // <20>p<EFBFBD>ܩ<EFBFBD>
#endif
#ifdef _ALLDOMAN // (<28><><EFBFBD>i<EFBFBD>}) Syu ADD <20>Ʀ<EFBFBD><C6A6>]NPC
0, // CHAR_HEROFLOOR,
#endif
#ifdef _PETSKILL_BECOMEPIG
-1, // CHAR_BECOMEPIG,
100250, //CHAR_BECOMEPIG_BBI
#endif
0, // CHAR_LASTLEAVETIME, // Robin add <20>̫<EFBFBD><CCAB><EFBFBD><EFBFBD>u<EFBFBD>ɶ<EFBFBD>
#ifdef _NEW_MANOR_LAW
0, // CHAR_MOMENTUM,
#endif
#ifdef _ITEM_ADDEXP2
0, // CHAR_ADDEXPPOWER,
0, // CHAR_ADDEXPTIME,
#endif
#ifdef _ANGEL_SUMMON
0, // CHAR_HEROCNT, // <20><><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>̥<EFBFBD><CCA5>Ȫ<EFBFBD><C8AA><EFBFBD><EFBFBD><EFBFBD>
#endif
#ifdef _RACEMAN
0, // CHAR_CHECKIN, //<2F>d<EFBFBD><64><EFBFBD>O<EFBFBD>_<EFBFBD>n<EFBFBD>O
0, // CHAR_CATCHCNT, //<2F>y<EFBFBD>d<EFBFBD><64><EFBFBD><EFBFBD>
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
#endif
},
{
{""}, /* CHAR_NAME */
{""}, /* CHAR_OWNTITLE */
{""}, /* CHAR_ARGUMENT */
{""}, /* CHAR_OWNERCDKEY */
{""}, /* CHAR_OWNERCHARANAME */
#if 0
{""}, /* CHAR_INITFUNC */
{"core_PreWalk"}, /* CHAR_WALKPREFUNC */
{"core_PostWalk"}, /* CHAR_WALKPOSTFUNC */
{""}, /* CHAR_PREOVERFUNC */
{""}, /* CHAR_PREOVERFUNC */
{"core_PlayerWatch"}, /* CHAR_WATCHFUNC */
{"core_Loop"}, /* CHAR_LOOPFUNC */
{"core_Dying"}, /* CHAR_DYINGFUNC */
{"core_PlayerTalked"}, /* CHAR_TALKEDFUNC */
{""}, /* CHAR_PREATTACKEDFUNC */
{""}, /* CHAR_POSTATTACKEDFUNC */
{""}, /* CHAR_OFFFUNC */
{""}, /* CHAR_LOOKEDFUNC */
{""}, /* CHAR_ITEMPUTFUNC */
{""}, /* CHAR_SPECIALTALKEDFUNC */
{""}, /* CHAR_WINDOWTALKEDFUNC */
#endif
},
{
SETFLG(1,1,1,1,1,1,0,0 ),
SETFLG(0,0,0,0,0,0,0,1 ),
}
};
LevelUpPattern lvplayer00={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer10={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer20={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer30={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer01={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer11={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer21={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer31={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer02={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer12={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer22={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer32={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer03={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer13={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer23={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer33={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer04={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer14={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer24={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer34={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer05={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer15={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer25={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer35={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer06={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer16={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer26={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer36={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer07={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer17={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer27={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer37={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer08={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer18={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer28={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer38={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer09={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer19={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer29={ {{100,10},{200,10},{50,8}},9,11,10};
LevelUpPattern lvplayer39={ {{100,10},{200,10},{50,8}},9,11,10};