傭兵実装によって、変わったり更新された部分のみを直接取り上げています。
MyID = 0 -- ホムンクルス id MySkill = 0 -- ホムンクルスの スキル MySkillLevel = 0 -- ホムンクルスの スキル レベル
MyID = 0 -- 傭兵 id MySkill = 0 -- 傭兵の スキル MySkillLevel = 0 -- 傭兵の スキル レベル
SkillObject (MyID,MySkillLevel,MySkill,MyEnemy)
if (1 == SkillObject(MyID,MySkillLevel,MySkill,MyEnemy)) then MyEnemy = 0 end
local result = 0 local type = GetV (V_HOMUNTYPE,myid) if (type == LIF or type == LIF_H or type == AMISTR or type == AMISTR_H or type == LIF2 or type == LIF_H2 or type == AMISTR2 or type == AMISTR_H2) then result = GetMyEnemyA (myid) elseif (type == FILIR or type == FILIR_H or type == VANILMIRTH or type == VANILMIRTH_H or type == FILIR2 or type == FILIR_H2 or type == VANILMIRTH2 or type == VANILMIRTH_H2) then result = GetMyEnemyB (myid) end return result
local result = 0 local type = GetV (V_MERTYPE,myid) if (type >= ARCHER01 and type <= SWORDMAN10) then result = GetMyEnemyA (myid) else result = GetMyEnemyB (myid) end return result
-------------------------------------------- -- ホムンクルス 種類 -------------------------------------------- LIF = 1 AMISTR = 2 FILIR = 3 VANILMIRTH = 4 LIF2 = 5 AMISTR2 = 6 FILIR2 = 7 VANILMIRTH2 = 8 LIF_H = 9 AMISTR_H = 10 FILIR_H = 11 VANILMIRTH_H = 12 LIF_H2 = 13 AMISTR_H2 = 14 FILIR_H2 = 15 VANILMIRTH_H2 = 16 --------------------------------------------
-------------------------------------------- -- ホムンクルス 種類 -------------------------------------------- LIF = 1 AMISTR = 2 FILIR = 3 VANILMIRTH = 4 LIF_H = 5 AMISTR_H = 6 FILIR_H = 7 VANILMIRTH_H = 8 --------------------------------------------
V_MERTYPE = 12 -- 傭兵 種類
-------------------------------------------- -- 傭兵 種類 -------------------------------------------- ARCHER01 = 1 ARCHER02 = 2 ARCHER03 = 3 ARCHER04 = 4 ARCHER05 = 5 ARCHER06 = 6 ARCHER07 = 7 ARCHER08 = 8 ARCHER09 = 9 ARCHER10 = 10 LANCER01 = 11 LANCER02 = 12 LANCER03 = 13 LANCER04 = 14 LANCER05 = 15 LANCER06 = 16 LANCER07 = 17 LANCER08 = 18 LANCER09 = 19 LANCER10 = 20 SWORDMAN01 = 21 SWORDMAN02 = 22 SWORDMAN03 = 23 SWORDMAN04 = 24 SWORDMAN05 = 25 SWORDMAN06 = 26 SWORDMAN07 = 27 SWORDMAN08 = 28 SWORDMAN09 = 29 SWORDMAN10 = 30 --------------------------------------------