ohyesun 发表于 2024-2-22 20:51:16

建议增加获取显示技能等级的常量

<$SKILL(刺杀剑术)>,表示刺杀剑术的等级,<$SSKILL(刺杀剑术)>,表示刺杀剑术的强化等级,简化脚本现在只能怎么写,太low了:
#IF
CHECKSKILL 刺杀剑术 = 0 1
#SAY
<Text|x=520.0|y=114.0|color=250|size=18|text=未强化>
#IF
CHECKSKILL 刺杀剑术 = 1 1
#SAY
<Text|x=520.0|y=114.0|color=254|size=18|text=强化一重>
#IF
CHECKSKILL 刺杀剑术 = 2 1
#SAY
<Text|x=520.0|y=114.0|color=254|size=18|text=强化二重>
#IF
CHECKSKILL 刺杀剑术 = 3 1
#SAY
<Text|x=520.0|y=114.0|color=254|size=18|text=强化三重>

#IF
CHECKSKILL 刺杀剑术 = 4 1
#SAY
<Text|x=520.0|y=114.0|color=254|size=18|text=强化四重>

#IF
CHECKSKILL 刺杀剑术 = 5 1
#SAY
<Text|x=520.0|y=114.0|color=254|size=18|text=强化五重>

#IF
CHECKSKILL 刺杀剑术 = 6 1
#SAY
<Text|x=520.0|y=114.0|color=254|size=18|text=强化六重>



996技术-wang 发表于 2024-2-26 19:56:08

建议用LUA 获取 里面能获取到技能等级 CD 熟练度等等信息的

996技术-wang 发表于 2024-2-26 19:56:13

上面是打印技能表格" = {
-   3 = {
-         "ActionId"    = 0
-         "CurTrain"    = 0
-         "DefMaxPower" = 0
-         "DefPower"    = 0
-         "DefSpell"    = 10
-         "DelayTime"   = 0
-         "DelayTimeEX" = 0
-         "Effect"      = 0
-         "EffectType"= 0
-         "HideCDHint"= 1
-         "IgornAct"    = 0
-         "Job"         = 0
-         "Key"         = 0
-         "Level"       = 3
-         "LevelUp"   = 0
-         "LevelUpIcon" = -1
-         "MagicID"   = 3
-         "MaxPower"    = 0
-         "MaxTrain1"   = 50
-         "MaxTrain2"   = 150
-         "MaxTrain3"   = 300
-         "MaxTrain4"   = 300
-         "Power"       = 0
-         "SkillType"   = 0
-         "Spell"       = 0
-         "SpellType"   = 0
-         "TrainLevel1" = 7
-         "TrainLevel2" = 11
-         "TrainLevel3" = 16
-         "TrainLevel4" = 16
-         "TrainLv"   = 3
-         "curTime"   = 0
-         "id"          = 3
-         "isCD"      = false
-   }
-   7 = {
-         "ActionId"    = 0
-         "CurTrain"    = 0
-         "DefMaxPower" = 0
-         "DefPower"    = 0
-         "DefSpell"    = 10
-         "DelayTime"   = 5000
-         "DelayTimeEX" = 0
-         "Effect"      = 5
-         "EffectType"= 0
-         "HideCDHint"= 1
-         "IgornAct"    = 0
-         "Job"         = 0
-         "Key"         = 3
-         "Level"       = 3
-         "LevelUp"   = 0
-         "LevelUpIcon" = -1
-         "MagicID"   = 7
-         "MaxPower"    = 0
-         "MaxTrain1"   = 400
-         "MaxTrain2"   = 800
-         "MaxTrain3"   = 1600
-         "MaxTrain4"   = 1600
-         "Power"       = 0
-         "SkillType"   = 0
-         "Spell"       = 0
-         "SpellType"   = 0
-         "TrainLevel1" = 19
-         "TrainLevel2" = 22
-         "TrainLevel3" = 24
-         "TrainLevel4" = 24
-         "TrainLv"   = 3
-         "curTime"   = 0
-         "id"          = 7
-         "isCD"      = false
-   }
-   12 = {
-         "ActionId"    = 0
-         "CurTrain"    = 0
-         "DefMaxPower" = 0
-         "DefPower"    = 0
-         "DefSpell"    = 0
-         "DelayTime"   = 0
-         "DelayTimeEX" = 0
-         "Effect"      = 13
-         "EffectType"= 0
-         "HideCDHint"= 1
-         "IgornAct"    = 0
-         "Job"         = 0
-         "Key"         = 4
-         "Level"       = 3
-         "LevelUp"   = 0
-         "LevelUpIcon" = -1
-         "MagicID"   = 12
-         "MaxPower"    = 0
-         "MaxTrain1"   = 600
-         "MaxTrain2"   = 1200
-         "MaxTrain3"   = 1800
-         "MaxTrain4"   = 1800
-         "Power"       = 0
-         "SkillType"   = 0
-         "Spell"       = 0
-         "SpellType"   = 0
-         "TrainLevel1" = 25
-         "TrainLevel2" = 27
-         "TrainLevel3" = 29
-         "TrainLevel4" = 29
-         "TrainLv"   = 3
-         "curTime"   = 0
-         "id"          = 12
-         "isCD"      = false
-   }
-   25 = {
-         "ActionId"    = 0
-         "CurTrain"    = 0
-         "DefMaxPower" = 0
-         "DefPower"    = 0
-         "DefSpell"    = 10
-         "DelayTime"   = 2000
-         "DelayTimeEX" = 0
-         "Effect"      = 23
-         "EffectType"= 0
-         "HideCDHint"= 1
-         "IgornAct"    = 0
-         "Job"         = 0
-         "Key"         = 5
-         "Level"       = 3
-         "LevelUp"   = 0
-         "LevelUpIcon" = -1
-         "MagicID"   = 25
-         "MaxPower"    = 0
-         "MaxTrain1"   = 800
-         "MaxTrain2"   = 1600
-         "MaxTrain3"   = 2400
-         "MaxTrain4"   = 2400
-         "Power"       = 0
-         "SkillType"   = 0
-         "Spell"       = 0
-         "SpellType"   = 0
-         "TrainLevel1" = 28
-         "TrainLevel2" = 31
-         "TrainLevel3" = 34
-         "TrainLevel4" = 34
-         "TrainLv"   = 3
-         "curTime"   = 0
-         "id"          = 25
-         "isCD"      = false
页: [1]
查看完整版本: 建议增加获取显示技能等级的常量