技能部分完成,数据结构调整

This commit is contained in:
ozg
2014-04-15 22:44:39 +08:00
parent eaecd1919e
commit ac11e34a08
18 changed files with 553 additions and 59 deletions
+6
View File
@@ -33,6 +33,12 @@ using namespace CocosDenshion;
//查询现有道具
#define ITEMS_QUERY "select * from items where id in(%s) order by id asc"
//获取一个player的详细数据
#define PLAYER_DETAIL_QUERY "select p.*, arms.name_cns as arms_name, armor.name_cns as armor_name from player as p left join items as arms on p.items_id_arms = arms.id left join items as armor on p.items_id_armor = armor.id where p.id = %i"
//查询一个角色的技能
#define SKILL_QUERY "select * from skill where id in(%s)"
//技能的属性
enum RPGSkillAttr
{