Browse Source

fixed issue with not functioning correctly

master
Thorny 4 years ago
parent
commit
9269f8d987
  1. 6
      ibar.lua

6
ibar.lua

@ -247,7 +247,7 @@ ashita.register_event('render', function() @@ -247,7 +247,7 @@ ashita.register_event('render', function()
if (z_id ~= nil) then s_target = string.gsub(s_target,'$z_id',party:GetMemberZone(0)); end
if (zone ~= nil) then s_target = string.gsub(s_target,'$zone',ZoneName); end
if (p_hp ~= nil) then s_target = string.gsub(s_target,'$hpp',party:GetMemberHPP(0)); end
if (m_id ~= nil) then s_target = string.gsub(s_target,'$id',target:GetTargetID()); end
if (m_id ~= nil) then s_target = string.gsub(s_target,'$id',target:GetTargetServerId()); end
if (m_ix ~= nil) then s_target = string.gsub(s_target,'$m_index',target:GetTargetIndex()); end
if (party:GetMemberZone(0) ~= 285) then
@ -300,7 +300,7 @@ ashita.register_event('render', function() @@ -300,7 +300,7 @@ ashita.register_event('render', function()
if (name ~= nil) then m_target = string.gsub(m_target,'$target',tentity.Name); end
if (zone ~= nil) then m_target = string.gsub(m_target,'$zone',ZoneName); end
if (m_id ~= nil) then m_target = string.gsub(m_target,'$id',target:GetTargetID()); end
if (m_id ~= nil) then m_target = string.gsub(m_target,'$id',target:GetTargetServerId()); end
if (m_ix ~= nil) then m_target = string.gsub(m_target,'$m_index',target:GetTargetIndex()); end
if (mjob ~= nil) then m_target = string.gsub(m_target,'$job',jobs[tonumber(mb_data[i].mj)]); end
if (mlvl ~= nil) then m_target = string.gsub(m_target,'$level',mb_data[i].mlvl); end
@ -328,7 +328,7 @@ ashita.register_event('render', function() @@ -328,7 +328,7 @@ ashita.register_event('render', function()
if (name ~= nil) then m_target = string.gsub(m_target,'$target',tentity.Name); end
if (zone ~= nil) then m_target = string.gsub(m_target,'$zone',ZoneName); end
if (m_id ~= nil) then m_target = string.gsub(m_target,'$id',target:GetTargetID()); end
if (m_id ~= nil) then m_target = string.gsub(m_target,'$id',target:GetTargetServerId()); end
if (m_ix ~= nil) then m_target = string.gsub(m_target,'$m_index',target:GetTargetIndex()); end
if (mlvl ~= nil) then m_target = string.gsub(m_target,'$level',mb_data[i].mlvl); end
if (gpos ~= nil) then m_target = string.gsub(m_target,'$position', pX .. ',' .. pY .. ',' .. pZ); end

Loading…
Cancel
Save