• hisuinohoshi's avatar
    Add revcombat.func.php,revbattle.htm,revbattleresult.htm · 481e44fe
    hisuinohoshi authored
    change:{command.php,item.func.php;game.func.php:init_battle();player_save()}
    fix:{game.func.php:update_db_player_structure()}
    提供了支持NPCvsNPC战斗的相关函数与页面……本来希望是能作为翻新的战斗函数也提供给玩家用的……但是暂时做不到!
    在player_save()的流程中加入了键名过滤环节,现在有乱七八糟内容的玩家/NPC数据也能直接用player_save()存回数据库而不会爆炸了……希望不要有BUG。
    481e44fe
game.func.php 23.9 KB