68 lines
2.3 KiB
C
68 lines
2.3 KiB
C
![]() |
#ifndef __MAGIC_H__
|
|||
|
#define __MAGIC_H__
|
|||
|
|
|||
|
/* <20><><EFBFBD><EFBFBD> */
|
|||
|
int MAGIC_Use( int charaindex, int haveitemindex, int toindex);
|
|||
|
int MAGIC_Recovery( int charaindex, int toindex,int marray, int mp );
|
|||
|
int MAGIC_OtherRecovery( int charaindex, int toindex, int marray, int mp );
|
|||
|
int MAGIC_FieldAttChange( int charaindex, int toindex, int marray, int mp );
|
|||
|
int MAGIC_StatusChange( int charaindex, int toindex, int marray, int mp );
|
|||
|
#ifdef _MAGIC_DEEPPOISON
|
|||
|
int MAGIC_StatusChange2( int charaindex, int toindex, int marray, int mp );
|
|||
|
#endif
|
|||
|
int MAGIC_StatusRecovery( int charaindex, int toindex, int marray, int mp );
|
|||
|
int MAGIC_MagicDef( int charaindex, int toindex, int marray, int mp );
|
|||
|
int MAGIC_Ressurect( int charaindex, int toindex, int marray, int mp );
|
|||
|
int MAGIC_AttReverse( int charaindex, int toindex, int marray, int mp );
|
|||
|
int MAGIC_ResAndDef( int charaindex, int toindex, int marray, int mp );
|
|||
|
#ifdef _OTHER_MAGICSTAUTS
|
|||
|
int MAGIC_MagicStatusChange( int charaindex, int toindex, int marray, int mp );
|
|||
|
#endif
|
|||
|
#ifdef _ATTACK_MAGIC
|
|||
|
int MAGIC_AttMagic( int charaindex , int toindex , int marray , int mp );
|
|||
|
#endif
|
|||
|
#ifdef _ITEM_METAMO
|
|||
|
int MAGIC_Metamo( int charaindex, int toindex,int marray, int mp );
|
|||
|
#endif
|
|||
|
|
|||
|
#ifdef _ITEM_ATTSKILLMAGIC
|
|||
|
int MAGIC_AttSkill( int charaindex, int toindex,int marray, int mp );
|
|||
|
#endif
|
|||
|
#ifdef _MAGIC_WEAKEN// vincent <20><><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD>
|
|||
|
int MAGIC_Weaken( int charaindex, int toindex, int marray, int mp );
|
|||
|
#endif
|
|||
|
#ifdef _MAGIC_BARRIER// vincent <20><><EFBFBD><EFBFBD>:ħ<><C4A7>
|
|||
|
int MAGIC_Barrier( int charaindex, int toindex, int marray, int mp );
|
|||
|
#endif
|
|||
|
#ifdef _MAGIC_NOCAST// vincent <20><><EFBFBD><EFBFBD>:<3A><>Ĭ
|
|||
|
int MAGIC_Nocast( int charaindex, int toindex, int marray, int mp );
|
|||
|
#endif
|
|||
|
#ifdef _MAGIC_TOCALL
|
|||
|
int MAGIC_ToCallDragon( int charaindex, int toindex,int marray, int mp );
|
|||
|
#endif
|
|||
|
|
|||
|
//----------------------------------------------------------------------
|
|||
|
// ʧ<><CAA7> ة<><D8A9><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> įë߯<C3AB><DFAF>
|
|||
|
//
|
|||
|
int MAGIC_GetArrayNo(
|
|||
|
int charaindex, // ƽ<>ҷ<EFBFBD><D2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̼<EFBFBD><CCBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>
|
|||
|
int haveitemindex // <20>Ȼ<EFBFBD><C8BB><EFBFBD>ʧ<EFBFBD><CAA7> ة<><D8A9><EFBFBD><EFBFBD>
|
|||
|
);
|
|||
|
//
|
|||
|
//----------------------------------------------------------------------
|
|||
|
//-------------------------------------------------------------------
|
|||
|
//
|
|||
|
// <20><><EFBFBD><EFBFBD>ë <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//
|
|||
|
int MAGIC_DirectUse(
|
|||
|
int charaindex, // <20><><EFBFBD><EFBFBD>ƽ<EFBFBD>ҷ¼<D2B7><C2BC>̼<EFBFBD><CCBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>
|
|||
|
int marray, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̼<EFBFBD><CCBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>
|
|||
|
int toindex, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
int itemnum
|
|||
|
);
|
|||
|
//
|
|||
|
//-------------------------------------------------------------------
|
|||
|
|
|||
|
#endif
|
|||
|
|