|
发表于 2011-7-10 17:09:59
|
显示全部楼层
给你发个简单代码,这个是复制的我的技能的内容,除去了预设值……
技能、效果和行为是同名的,因此技能的效果,效果的行为都是技能名。
例子代码:
技能部分- LightWeaponTraining (LightWeaponTraining)
- CAbil_EditorCategories    Race:Terran,AbilityorEffectType:Units
- CAbil_EditorDescription    Abil/EditorDescription/##id##
- CAbil_EditorPrefix    Abil/EditorPrefix/##id##
- CAbil_EditorSuffix    Abil/EditorSuffix/##id##
- CAbil_Name    Abil/Name/##id##
- CAbil_TargetMessage    Abil/TargetMessage/DefaultTargetMessage
- CAbilEffect_AutoCastFilters    Visible;Ally,Neutral,Enemy
- CAbilEffect_Cost_Charge_CountMax    (1|1|1|1|1)
- CAbilEffect_Cost_Charge_CountStart    (1|1|1|1|1)
- CAbilEffect_Cost_Charge_CountUse    (1|1|1|1|1)
- CAbilEffect_Cost_Charge_HideCount    (0|0|0|0|0)
- CAbilEffect_Cost_Charge_Link    (Abil/lightWeaponTraining1|Abil/lightWeaponTraining2|Abil/lightWeaponTraining3|Abil/lightWeaponTraining4|Abil/lightWeaponTraining5)
- CAbilEffect_Cost_Charge_Location    (Abil|Abil|Abil|Abil|Abil)
- CAbilEffect_Cost_Charge_TimeStart    (0|0|0|0|0)
- CAbilEffect_Cost_Charge_TimeUse    (0|0|0|0|0)
- CAbilEffect_Cost_Cooldown_Link    (Abil/##id##|Abil/##id##|Abil/##id##|Abil/##id##|Abil/##id##)
- CAbilEffect_Cost_Cooldown_Location    (Abil|Abil|Abil|Abil|Abil)
- CAbilEffect_Cost_Cooldown_TimeStart    (0|0|0|0|0)
- CAbilEffect_Cost_Cooldown_TimeUse    (0|0|0|0|0)
- CAbilEffect_Cost_Display    ((0|0|0|0|0|0|0)|(0|0|0|0|0|0|0)|(0|0|0|0|0|0|0)|(0|0|0|0|0|0|0)|(0|0|0|0|0|0|0))
- CAbilEffect_Cost_Resource    ((0|0|0|0)|(0|0|0|0)|(0|0|0|0)|(0|0|0|0)|(0|0|0|0))
- CAbilEffect_Cost_Vital    ((0|0|0)|(0|0|0)|(0|0|0)|(0|0|0)|(0|0|0))
- CAbilEffect_Cost_VitalFraction    ((0|0|0)|(0|0|0)|(0|0|0)|(0|0|0)|(0|0|0))
- CAbilEffect_Effect    (##id##|##id##|##id##|##id##|##id##)
- CAbilEffect_Flags    (1|1|1|0|1|0|0|1|1|0|1|1|1|0|0|0|0)
- CAbilEffectInstant_CmdButtonArray_DefaultButtonFace    (##id##|)
复制代码 效果部分- LightWeaponTraining (LightWeaponTraining)
- CEffect_EditorCategories    Race:Terran
- CEffect_EditorDescription    Effect/EditorDescription/##id##
- CEffect_EditorPrefix    Effect/EditorPrefix/##id##
- CEffect_EditorSuffix    Effect/EditorSuffix/##id##
- CEffect_Name    Effect/Name/##id##
- CEffectApplyBehavior_WhichUnit_Value    Caster
复制代码 行为部分- LightWeaponTraining (LightWeaponTraining)
- CBehavior_EditorCategories    Race:Terran,AbilityorEffectType:Units
- CBehavior_EditorDescription    Behavior/EditorDescription/##id##
- CBehavior_EditorPrefix    Behavior/EditorPrefix/##id##
- CBehavior_EditorSuffix    Behavior/EditorSuffix/##id##
- CBehavior_InfoFlags    1
- CBehavior_Name    Behavior/Name/##id##
- CBehaviorBuff_MaxStackCount    5
- CBehaviorBuff_Modification_AttributeChangeArray_Attribute    (LightWeapon)
- CBehaviorBuff_Modification_AttributeChangeArray_Points    (2)
复制代码 |
|