stoneage8.5/石器时代服务器端最新完整源代码/Serv/gmsv/include/magic.h
anson1788 a5b185b7ef Revert "re upload"
This reverts commit 274b7d169c.
2020-06-23 15:23:51 +08:00

72 lines
2.4 KiB
C

#ifndef __MAGIC_H__
#define __MAGIC_H__
/* ÈÈÖî */
int MAGIC_Use( int charaindex, int haveitemindex, int toindex);
#ifdef _MAGIC_FEATHERS
int MAGIC_Feathers( int charaindex, int toindex, int marray, int mp );
#endif
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 ¾«Áé:ÐéÈõ
int MAGIC_Weaken( int charaindex, int toindex, int marray, int mp );
#endif
#ifdef _MAGIC_BARRIER// vincent ¾«Áé:ħÕÏ
int MAGIC_Barrier( int charaindex, int toindex, int marray, int mp );
#endif
#ifdef _MAGIC_NOCAST// vincent ¾«Áé:³ÁĬ
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
//----------------------------------------------------------------------
// ʧÄÌ Ø©¼°ÞË ¾®ÈÕÈÈÖî įë߯ÔÊ
//
int MAGIC_GetArrayNo(
int charaindex, // ƽÅÒ·ÂÛÍÕýÄ̼þ·¸ÓÀÛ͵©
int haveitemindex // ÔÈ»¯ÔÂʧÄÌ Ø©¼°ÞË
);
//
//----------------------------------------------------------------------
//-------------------------------------------------------------------
//
// ÈÈÖîë ÌÎÒøµ¤
//
int MAGIC_DirectUse(
int charaindex, // Òøµ¤Æ½Åҷ¼°Ä̼þ·¸ÓÀÛ͵©
int marray, // Òøµ¤ÈÈÖî¼°Ä̼þ·¸ÓÀÛ͵©
int toindex, // ²¾±åÒøµ¤£¢
int itemnum
);
//
//-------------------------------------------------------------------
#endif