[TriggerParams]
UnitStateDamageDice=0,unitstate,ConvertUnitState(0x10),"骰子数量 [JAPI]"
UnitStateDamageSide=0,unitstate,ConvertUnitState(0x11),"骰子面数 [JAPI]"
UnitStateDamageBase=0,unitstate,ConvertUnitState(0x12),"基础伤害 [JAPI]"
UnitStateDamageBonus=0,unitstate,ConvertUnitState(0x13),"附加伤害 [JAPI]"
UnitStateDamageMix=0,unitstate,ConvertUnitState(0x14),"攻击最小值 [JAPI]"
UnitStateDamageMax=0,unitstate,ConvertUnitState(0x15),"攻击最大值 [JAPI]"
UnitStateDamageRange=0,unitstate,ConvertUnitState(0x16),"攻击范围 [JAPI]"
UnitStateDamageCool=0,unitstate,ConvertUnitState(0x25),"攻击间隔 [JAPI]"
UnitStateAttackSpeed=0,unitstate,ConvertUnitState(0x51),"攻击速度 [JAPI]"
UnitStateArmor=0,unitstate,ConvertUnitState(0x20),"护甲 [JAPI]"

UnitStateDamageDiceSec=0,unitstatesec,ConvertUnitState(0x10),"骰子数量 [JAPI]"
UnitStateDamageSideSec=0,unitstatesec,ConvertUnitState(0x11),"骰子面数 [JAPI]"
UnitStateDamageBaseSec=0,unitstatesec,ConvertUnitState(0x12),"基础伤害 [JAPI]"
UnitStateDamageBonusSec=0,unitstatesec,ConvertUnitState(0x13),"附加伤害 [JAPI]"
UnitStateDamageRangeSec=0,unitstatesec,ConvertUnitState(0x16),"攻击范围 [JAPI]"
UnitStateDamageCoolSec=0,unitstatesec,ConvertUnitState(0x25),"攻击间隔 [JAPI]"
UnitStateAttackSpeedSec=0,unitstatesec,ConvertUnitState(0x51),"攻击速度 [JAPI]"
UnitStateArmorSec=0,unitstatesec,ConvertUnitState(0x20),"护甲 [JAPI]"
UnitStateMaxLifeSec=0,unitstatesec,UNIT_STATE_MAX_LIFE,"最大生命值 [JAPI]"
UnitStateMaxManaSec=0,unitstatesec,UNIT_STATE_MAX_MANA,"最大魔法值 [JAPI]"

[TriggerActions]
YDWESetUnitAbilityState=1,unit,abilcode,AbilityState,real
_YDWESetUnitAbilityState_Defaults=GetTriggerUnit,_,ABILITY_STATE_COOLDOWN,_
_YDWESetUnitAbilityState_Category=TC_UNIT

YDWESetUnitAbilityDataInteger=1,unit,abilcode,integer,AbilityDataInteger,integer
_YDWESetUnitAbilityDataInteger_Defaults=GetTriggerUnit,_,1,ABILITY_DATA_COST,_
_YDWESetUnitAbilityDataInteger_Limits=_,_,_,_,1,_,_,_,_,_
_YDWESetUnitAbilityDataInteger_Category=TC_UNIT

YDWESetUnitAbilityDataReal=1,unit,abilcode,integer,AbilityDataReal,real
_YDWESetUnitAbilityDataReal_Defaults=GetTriggerUnit,_,1,ABILITY_DATA_COOL,_
_YDWESetUnitAbilityDataReal_Limits=_,_,_,_,1,_,_,_,_,_
_YDWESetUnitAbilityDataReal_Category=TC_UNIT

YDWESetUnitAbilityDataString=1,unit,abilcode,integer,AbilityDataString,string
_YDWESetUnitAbilityDataString_Defaults=GetTriggerUnit,_,1,ABILITY_DATA_TIP,_
_YDWESetUnitAbilityDataString_Limits=_,_,_,_,1,_,_,_,_,_
_YDWESetUnitAbilityDataString_Category=TC_UNIT

YDWEUnitTransform=1,unit,abilcode,unitcode
_YDWEUnitTransform_Defaults=GetTriggerUnit,AEme,hfoo
_YDWEUnitTransform_Category=TC_UNIT

YDWEUnitAddStun=1,unit
_YDWEUnitAddStun_Defaults=GetTriggerUnit
_YDWEUnitAddStun_Category=TC_UNIT

YDWEUnitRemoveStun=1,unit
_YDWEUnitRemoveStun_Defaults=GetTriggerUnit
_YDWEUnitRemoveStun_Category=TC_UNIT

YDWESetEventDamage=0,real
_YDWESetEventDamage_Defaults=0.
_YDWESetEventDamage_Category=TC_YDFC

YDWERHSetGameWinner=0,integer
_YDWERHSetGameWinner_Defaults=0
_YDWERHSetGameWinner_Limits=0,15
_YDWERHSetGameWinner_Category=TC_YDHIDE

YDWERecordSetTitle=0,integer,string
_YDWERecordSetTitle_Defaults=0,_,
_YDWERecordSetTitle_Limits=0,7,_,_
_YDWERecordSetTitle_Category=TC_YDSL

YDWERecordSetI=0,player,string,integer
_YDWERecordSetI_Defaults=Player00,_,5
_YDWERecordSetI_Category=TC_YDSL

YDWERecordSave=0,player
_YDWERecordSave_Defaults=Player00
_YDWERecordSave_Category=TC_YDSL

YDWERecordClear=0,player
_YDWERecordClear_Defaults=Player00
_YDWERecordClear_Category=TC_YDSL

YDWERPGSetKey=0,player,string,integer
_YDWERPGSetKey_Defaults=Player00,_,5
_YDWERPGSetKey_Category=TC_YDSL

YDWERPGAddKey=0,player,string,integer
_YDWERPGAddKey_Defaults=Player00,_,5
_YDWERPGAddKey_Category=TC_YDSL

YDWERPGGameEnd=0
_YDWERPGGameEnd_Defaults=
_YDWERPGGameEnd_Category=TC_YDSL

YDWEDisplayChat=0,player,ChatRecipient,StringExt
_YDWEDisplayChat_Defaults=Player00,CHAT_RECIPIENT_ALL,_
_YDWEDisplayChat_Category=TC_PLAYER

YDWESetItemDataString=1,itemcode,ItemDataString,string
_YDWESetItemDataString_Defaults=ches,ITEM_DATA_TIP,_
_YDWESetItemDataString_Category=TC_ITEM

[TriggerCalls]
YDWEPlatformIsInPlatform=0,1,boolean
_YDWEPlatformIsInPlatform_Category=TC_YDFC

//YDWEPlatformIsInRoom=0,1,boolean
//_YDWEPlatformIsInRoom_Category=TC_YDFC

YDWEIsEventPhysicalDamage=0,1,boolean
_YDWEIsEventPhysicalDamage_Defaults=
_YDWEIsEventPhysicalDamage_Category=TC_EVENTRESPONSE

YDWEIsEventAttackDamage=0,1,boolean
_YDWEIsEventAttackDamage_Defaults=
_YDWEIsEventAttackDamage_Category=TC_EVENTRESPONSE

YDWEIsEventRangedDamage=0,1,boolean
_YDWEIsEventRangedDamage_Defaults=
_YDWEIsEventRangedDamage_Category=TC_EVENTRESPONSE

YDWEIsEventDamageType=0,1,boolean,damagetype
_YDWEIsEventDamageType_Defaults=DamageTypeNormal
_YDWEIsEventDamageType_Category=TC_EVENTRESPONSE

YDWEIsEventWeaponType=0,1,boolean,weapontype
_YDWEIsEventWeaponType_Defaults=WEAPON_TYPE_WHOKNOWS
_YDWEIsEventWeaponType_Category=TC_EVENTRESPONSE

YDWEIsEventAttackType=0,1,boolean,attacktype
_YDWEIsEventAttackType_Defaults=AttackTypeNormal
_YDWEIsEventAttackType_Category=TC_EVENTRESPONSE

YDWEGetObjectPropertyInteger=0,0,integer,objecttype,Null,string
_YDWEGetObjectPropertyInteger_Defaults=objecttype00_abilcode,AHhb,"levels"
_YDWEGetObjectPropertyInteger_Category=TC_YDBF
YDWEGetObjectPropertyReal=0,0,real,objecttype,Null,string
_YDWEGetObjectPropertyReal_Defaults=objecttype00_abilcode,AHhb,"Rng1"
_YDWEGetObjectPropertyReal_Category=TC_YDBF
YDWEGetObjectPropertyString=0,0,string,objecttype,Null,string
_YDWEGetObjectPropertyString_Defaults=objecttype00_abilcode,AHhb,"Name"
_YDWEGetObjectPropertyString_Category=TC_YDBF

YDWERecordGetI=0,1,integer,player,string
_YDWERecordGetI_Defaults=Player00,EverguoIsHandsome
_YDWERecordGetI_Category=TC_YDSL

YDWERPGGetKey=0,1,integer,player,string
_YDWERPGGetKey_Defaults=Player00,EverguoIsHandsome
_YDWERPGGetKey_Category=TC_YDSL

YDWEGetUnitAbilityState=0,0,real,unit,abilcode,AbilityState
_YDWEGetUnitAbilityState_Defaults=GetTriggerUnit,_,ABILITY_STATE_COOLDOWN
_YDWEGetUnitAbilityState_Category=TC_UNIT

YDWEGetUnitAbilityDataInteger=0,0,integer,unit,abilcode,integer,AbilityDataInteger
_YDWEGetUnitAbilityDataInteger_Defaults=GetTriggerUnit,_,1,ABILITY_DATA_COST
_YDWEGetUnitAbilityDataInteger_Limits=_,_,_,_,1,_,_,_,
_YDWEGetUnitAbilityDataInteger_Category=TC_UNIT

YDWEGetUnitAbilityDataReal=0,0,real,unit,abilcode,integer,AbilityDataReal
_YDWEGetUnitAbilityDataReal_Defaults=GetTriggerUnit,_,1,ABILITY_DATA_COOL
_YDWEGetUnitAbilityDataReal_Limits=_,_,_,_,1,_,_,_,
_YDWEGetUnitAbilityDataReal_Category=TC_UNIT

YDWEGetUnitAbilityDataString=0,0,string,unit,abilcode,integer,AbilityDataString
_YDWEGetUnitAbilityDataString_Defaults=GetTriggerUnit,_,1,ABILITY_DATA_TIP
_YDWEGetUnitAbilityDataString_Limits=_,_,_,_,1,_,_,_,
_YDWEGetUnitAbilityDataString_Category=TC_UNIT

YDWEGetItemDataString=0,0,string,itemcode,ItemDataString
_YDWEGetItemDataString_Defaults=ches,ITEM_DATA_TIP
_YDWEGetItemDataString_Category=TC_ITEM
