| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #-------------------------------------------------------------------------------  | 
| #  | 
| #-------------------------------------------------------------------------------  | 
| #  | 
| ##@package Skill.GameBuffs.MapBuff_3017  | 
| #  | 
| # @todo:¶à±¶¸£ÀûÇø  | 
| # @author hxp  | 
| # @date 2014-05-29  | 
| # @version 1.0  | 
| #  | 
| # ÏêϸÃèÊö: ¶à±¶¸£ÀûÇø  | 
| #  | 
| #---------------------------------------------------------------------  | 
| import FBCommon  | 
|   | 
| """Version = 2014-05-29 12:00"""  | 
|   | 
| #µ¼Èë  | 
| #---------------------------------------------------------------------  | 
| #È«¾Ö±äÁ¿  | 
| #---------------------------------------------------------------------  | 
|   | 
| #---------------------------------------------------------------------  | 
| ## ¶à±¶¸£ÀûÇøÇøÓòBuff  | 
| #  @param defender Buff³ÐÊÜÕß  | 
| #  @param curEffect ¼¼ÄÜЧ¹û  | 
| #  @return ÎÞÒâÒå  | 
| #  @remarks ×ÔÓÉPKÇøÓòÇøÓòBuff  | 
| def OnMapBuff(defender, curEffect):  | 
|     # 20013,20014,20015  | 
|     effValue = curEffect.GetEffectValue(0)  | 
|     FBCommon.SetAreaRewardMultiple(defender, effValue)  | 
|     #GameWorld.DebugLog("MapBuff_3017 OnMapBuff effValue=%s" % effValue)  | 
|     return  | 
|   | 
|   | 
| ## ¶à±¶¸£ÀûÇøÇøÓòBuff  | 
| #  @param defender Buff³ÐÊÜÕß  | 
| #  @param curEffect ¼¼ÄÜЧ¹û  | 
| #  @return ÎÞÒâÒå  | 
| def OnMapBuffDel(defender, curEffect):  | 
|     # ÖØÖÃΪ1±¶  | 
|     FBCommon.SetAreaRewardMultiple(defender, 1)  | 
|     #GameWorld.DebugLog("MapBuff_3017 OnMapBuffDel...")  | 
|     return  | 
|   | 
|   |