hxp
2025-06-04 71d77df560af421d106484e9276e89297b88e40a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/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