#!/usr/bin/python # -*- coding: GBK -*- #------------------------------------------------------------------------------- # #------------------------------------------------------------------------------- # ##@package SkillModule_6 # # @todo: ȺÌåBUFF # @author Alee # @date 2010-12-16 20:50 # @version 1.0 # # ÏêϸÃèÊö: ȺÌåBUFF # #------------------------------------------------------------------------------ """Version = 2010-12-16 20:50""" #------------------------------------------------------------------------------ #µ¼Èë import BaseAttack #------------------------------------------------------------------------------ ##BOSSͨÓÃÇøÓòDebuff # @param attacker ¹¥»÷ÕßʵÀý # @param defender ·ÀÊØÕßʵÀý # @param curSkill ¼¼ÄÜʵÀý # @param tick ʱ¼ä´Á # @return ·µ»ØÖµÎªÕæ, Êͷųɹ¦ # @remarks BOSSͨÓÃÇøÓòDebuff Èç¹ûµ¥ÊǼÓdebuffÔò¼¼ÄÜЧ¹û1ÖµÖеÄÌî0Ôò²»Ôì³ÉÉ˺¦ def UseBuff(attacker, defender, curSkill, tick, tagRoundPosX, tagRoundPosY): #---ȺÌåBUFF±éÀúÆðµãÓÅÏȼ¶ 1.ÕÒÖ¸¶¨µã 2.·ÀÊØÕߣ¨°üÀ¨×Ô¼º£©--- if tagRoundPosX == -1 or tagRoundPosY == -1: #ÆðµãÊǹ¥»÷·½£¬»¹ÊÇÊܺ¦·½£¬»¹ÊÇµãµØ tagRoundPosX = defender.GetPosX() tagRoundPosY = defender.GetPosY() #ʹÓü¼ÄÜ return BaseAttack.SkillAddAreaBuff(attacker, defender, curSkill, tagRoundPosX, tagRoundPosY, tick)