Jump to content
Sign in to follow this  
Dan

Voyager Skill bug

Recommended Posts

Voayger skills are not working - Does no damage to mob it seems like you are casting on your screen but others can't see anything/damage doesn't show on mobs.


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
1 hour ago, Onioni said:

any errors on logs? can u post them?

Nah no error logs, just  in game when I use the skill its like I'm in safe zone no damage shown. PS - Using Clean PKO Base File (2.0) v1.36 from Lucky's Archive.


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
Just now, Onioni said:

how about cha_timer.. im sure there in logs is something wrong.. well if u don't want to show them cant help more... sorry

Where can I find cha_timer again?

This is the only thing I found in fuctions.lua

 

function cha_timer(role, freq, time) 
    local resume_freq = 5 
    local now_tick = GetChaParam(role, 1) 
    local is_role_living = -1

    SetChaParam(role, 1, now_tick + freq * time) 
    --hp回复
    if math.mod(now_tick, resume_freq) == 0 and now_tick > 0 then 
    JianYuKa(role ,now_tick)
    ZhongShenTaoZhuang(role,now_tick)
        if is_role_living == -1 then
            is_role_living = IsChaLiving(role)
        end
        if is_role_living == 1 then 
            Resume(role)
        end 
    end

Edited by Ecstasy

Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
28 minutes ago, Ecstasy said:

Where can I find cha_timer again?

This is the only thing I found in fuctions.lua

 

function cha_timer(role, freq, time) 
    local resume_freq = 5 
    local now_tick = GetChaParam(role, 1) 
    local is_role_living = -1

    SetChaParam(role, 1, now_tick + freq * time) 
    --hp回复
    if math.mod(now_tick, resume_freq) == 0 and now_tick > 0 then 
    JianYuKa(role ,now_tick)
    ZhongShenTaoZhuang(role,now_tick)
        if is_role_living == -1 then
            is_role_living = IsChaLiving(role)
        end
        if is_role_living == 1 then 
            Resume(role)
        end 
    end

 

 

 

So first of all if you don't show logs the error is hard to find it can be in anywhere... but lets see the basics on that skill witch is not even clear for me but i think you are talking conch ray (or/and + lighting bolt?)

 

 

 

Skillinfo.txt

0216	Conch Ray	1	16,10	1,-1	1,-1	1,-1	-1	2	1	0	-1	212,5	1	1	1	600	4	2	0	0	1	0	0	SkillSp_Bkcj	0	0	SkillArea_Line_Bkcj	0	Skill_Bkcj_End	0	0	0	0	0	0	0	0	0	0	0	0	0	0	SkillCooldown_Bkcj	1	1	13	0	106	6,-1	265,266	0,0	0	0,0	0,0	0	-1	-1	0	0	107	2	267	0	0	0	s0216.tga	0	0	Uses Strike Coral to damage targets in a straight line	Damage is determined by skill level and Spirit. Requires Strike Coral to be equipped	Consumes 23 SP at Level 1. Rebirth add extra damage. Increases by 3 SP per skill level	0

 

Skilleffect.lua

SkillSp_Bkcj

SkillArea_Line_Bkcj

Skill_Bkcj_End

SkillCooldown_Bkcj

function SkillSp_Bkcj ( sklv )										
	local sp_reduce = 20+ sklv * 3   
	return sp_reduce 
end
function SkillArea_Line_Bkcj ( sklv )										--¼¼ÄÜ"±´¿Ç³å»÷"µÄ¼¼ÄÜÇøÓò¹«Ê½
	local lenth = 550 + sklv * 30  
	local width = 100 + sklv * 10 
	SetSkillRange ( 1 , lenth , width  )  
end
function Skill_Bkcj_End ( ATKER , DEFER , sklv ) 
	local sta_atk= Sta ( ATKER ) 
	local sta_def = Sta ( DEFER ) 
	local AddStateLv = 0
	AddStateLv = GetChaStateLv ( ATKER , STATE_MLCH ) 

	local dmg = math.floor( 200 + sklv*30 +sta_atk*6 )*1.2 

	local map_name_DEFER = GetChaMapName ( DEFER )
	local agi_atker = Agi(ATKER)
	local Can_Pk_Garner2 = Is_NormalMonster (DEFER)
		if map_name_ATKER == "garner2" or map_name_DEFER == "garner2" or map_name_ATKER == "garner3" or map_name_DEFER == "garner3" or map_name_ATKER == "starena1" or map_name_DEFER == "starena1"or map_name_ATKER == "starena2" or map_name_DEFER == "starena2" or map_name_ATKER == "starena3" or map_name_DEFER == "starena3"then
			if Can_Pk_Garner2 == 0 then


			dmg = math.floor(MAGIC_Atk_Dmg(ATKER,DEFER)+sklv*200)
			local rate =math.random(1,200)

				if rate >= Con(DEFER) then
					local statetime = math.floor(sklv/4+1)
					local statelv = sklv
					AddState ( ATKER , DEFER , STATE_XY , statelv , statetime ) 
				end
			end
		end


	local dmg_fin = Cuihua_Mofa ( dmg , AddStateLv ) 
	local dmg_ElfSkill = ElfSkill_MagicAtk ( dmg , ATKER ) 
	dmg_fin = dmg_fin + dmg_ElfSkill
	local ZSExp = GetChaAttr( ATKER , ATTR_CSAILEXP )
	if ZSExp > 0 and ZSExp < 5001 then
		dmg_fin = dmg_fin * 1.2
	end
	if ZSExp >= 5000 and ZSExp < 10001 then
		dmg_fin = dmg_fin * 1.4
	end
	if ZSExp >= 10000 and ZSExp < 15001 then
		dmg_fin = dmg_fin * 1.8
	end
	Hp_Endure_Dmg ( DEFER , dmg_fin ) 
	if IsPlayer(DEFER) == 1 and IsPlayer(ATKER) == 1 then
		SkillLog(ATKER,DEFER,dmg_fin," Shell pounds ",sklv)
	end

			
end
function SkillCooldown_Bkcj( sklv )
	local Cooldown = 7000 - sklv * 500
	return Cooldown
end

do u have something like this? may u post it, don't mind of mine there is rb effects on it.

but still the logs would help a lot to solve where the error is..

Edited by Onioni

Download: Nightmare Demonic Helm

Dimension Pirates Online files: get now

New map Project: Flag PK

Black Skin 3.1.3 for pko 1: Get now

Share this post


Link to post
Share on other sites

@Onioni

 

function SkillArea_Line_Bkcj ( sklv )										--技能"Conch Ray"的技能区域公式
	local lenth = 500 + sklv * 30  
	local width = 100 + sklv * 10 
	SetSkillRange ( 1 , lenth , width  )  
end

function SkillCooldown_Bkcj( sklv )
	local Cooldown = 7000 - sklv * 500
	return Cooldown
end

function SkillSp_Bkcj ( sklv )										
	local sp_reduce = 20+ sklv * 3   
	return sp_reduce 
end


function SkillEnergy_Bkcj ( sklv )										
	local energy_reduce = math.floor ( 3 + sklv * 0.5 )    
	return energy_reduce 
end 

function Skill_Bkcj_Begin ( role , sklv ) 
	local sp = Sp(role) 
	local sp_reduce  = SkillSp_Bkcj ( sklv )  
	if sp - sp_reduce < 0 then 
		SkillUnable(role) 
		return 
	end 
	Sp_Red (role , sp_reduce ) 
end 

function Skill_Bkcj_End ( ATKER , DEFER , sklv ) 
	local sta_atk= Sta ( ATKER ) 
	local sta_def = Sta ( DEFER ) 
	local AddStateLv = 0
	AddStateLv = GetChaStateLv ( ATKER , STATE_MLCH ) 

	local dmg = math.floor( 200 + sklv*30 +sta_atk*6 ) 

	local map_name_DEFER = GetChaMapName ( DEFER )
	local agi_atker = Agi(ATKER)
	local Can_Pk_Garner2 = Is_NormalMonster (DEFER)
		if map_name_ATKER == "garner2" or map_name_DEFER == "garner2" then
			if Can_Pk_Garner2 == 0 then


			dmg = math.floor(MAGIC_Atk_Dmg(ATKER,DEFER)+sklv*200)
			local rate =math.random(1,200)

				if rate >= Con(DEFER) then
					local statetime = sklv/4
					local statelv = sklv
					AddState ( ATKER , DEFER , STATE_XY , statelv , statetime ) 
				end
			end
		end


	local dmg_fin = Cuihua_Mofa ( dmg , AddStateLv ) 
	local dmg_ElfSkill = ElfSkill_MagicAtk ( dmg , ATKER ) 
	dmg_fin = dmg_fin + dmg_ElfSkill
	Hp_Endure_Dmg ( DEFER , dmg_fin ) 
end 
216	Conch Ray	1	16,10	1,-1	1,-1	1,-1	-1	2	1	0	-1	212,5	1	1	1	600	4	2	0	0	1	0	0	SkillSp_Bkcj	0	SkillEnergy_Bkcj	SkillArea_Line_Bkcj	0	Skill_Bkcj_End	0	0	0	0	0	0	0	0	0	0	0	0	0	0	SkillCooldown_Bkcj	1	1	13,0,0,0,0,0,0,0,0,0	0	106	6,-1,0	265,266,0	0,0,0	0	0,0	0,0	0	-1	-1	0	0	107	2	267	0	0	812843008	s0216.tga	0	0,0	Uses Strike Coral to damage targets in a straight line	Damage is determined by skill level and Spirit. Requires Strike Coral to be equipped	Consumes 23 SP at Level 1. Increases by 3 SP per skill level	0

 


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
1 hour ago, Ecstasy said:

@Onioni

 


function SkillArea_Line_Bkcj ( sklv )										--技能"Conch Ray"的技能区域公式
	local lenth = 500 + sklv * 30  
	local width = 100 + sklv * 10 
	SetSkillRange ( 1 , lenth , width  )  
end

function SkillCooldown_Bkcj( sklv )
	local Cooldown = 7000 - sklv * 500
	return Cooldown
end

function SkillSp_Bkcj ( sklv )										
	local sp_reduce = 20+ sklv * 3   
	return sp_reduce 
end


function SkillEnergy_Bkcj ( sklv )										
	local energy_reduce = math.floor ( 3 + sklv * 0.5 )    
	return energy_reduce 
end 

function Skill_Bkcj_Begin ( role , sklv ) 
	local sp = Sp(role) 
	local sp_reduce  = SkillSp_Bkcj ( sklv )  
	if sp - sp_reduce < 0 then 
		SkillUnable(role) 
		return 
	end 
	Sp_Red (role , sp_reduce ) 
end 

function Skill_Bkcj_End ( ATKER , DEFER , sklv ) 
	local sta_atk= Sta ( ATKER ) 
	local sta_def = Sta ( DEFER ) 
	local AddStateLv = 0
	AddStateLv = GetChaStateLv ( ATKER , STATE_MLCH ) 

	local dmg = math.floor( 200 + sklv*30 +sta_atk*6 ) 

	local map_name_DEFER = GetChaMapName ( DEFER )
	local agi_atker = Agi(ATKER)
	local Can_Pk_Garner2 = Is_NormalMonster (DEFER)
		if map_name_ATKER == "garner2" or map_name_DEFER == "garner2" then
			if Can_Pk_Garner2 == 0 then


			dmg = math.floor(MAGIC_Atk_Dmg(ATKER,DEFER)+sklv*200)
			local rate =math.random(1,200)

				if rate >= Con(DEFER) then
					local statetime = sklv/4
					local statelv = sklv
					AddState ( ATKER , DEFER , STATE_XY , statelv , statetime ) 
				end
			end
		end


	local dmg_fin = Cuihua_Mofa ( dmg , AddStateLv ) 
	local dmg_ElfSkill = ElfSkill_MagicAtk ( dmg , ATKER ) 
	dmg_fin = dmg_fin + dmg_ElfSkill
	Hp_Endure_Dmg ( DEFER , dmg_fin ) 
end 

216	Conch Ray	1	16,10	1,-1	1,-1	1,-1	-1	2	1	0	-1	212,5	1	1	1	600	4	2	0	0	1	0	0	SkillSp_Bkcj	0	SkillEnergy_Bkcj	SkillArea_Line_Bkcj	0	Skill_Bkcj_End	0	0	0	0	0	0	0	0	0	0	0	0	0	0	SkillCooldown_Bkcj	1	1	13,0,0,0,0,0,0,0,0,0	0	106	6,-1,0	265,266,0	0,0,0	0	0,0	0,0	0	-1	-1	0	0	107	2	267	0	0	812843008	s0216.tga	0	0,0	Uses Strike Coral to damage targets in a straight line	Damage is determined by skill level and Spirit. Requires Strike Coral to be equipped	Consumes 23 SP at Level 1. Increases by 3 SP per skill level	0

 

so need to see logs what wrong on it..


Download: Nightmare Demonic Helm

Dimension Pirates Online files: get now

New map Project: Flag PK

Black Skin 3.1.3 for pko 1: Get now

Share this post


Link to post
Share on other sites

@Onioni

skillerror.txt

[08-09 22:39:48]character:Cha-BH Chest+2952808125	 hasn't the skill(SkillID: 327)
[08-09 23:06:08]character:Cha-DC Chest+2952808349	 hasn't the skill(SkillID: 327)
[08-09 23:06:18]character:Cha-DC Chest+2952808350	 hasn't the skill(SkillID: 325)
[08-09 23:43:51]character:Cha-DC Chest+2952809231	 hasn't the skill(SkillID: 29)
[08-10 01:08:51]character:Cha-CI Mob Phyllis+2952809707	 hasn't the skill(SkillID: 28)
[08-10 01:09:36]character:Cha-CI Mob Phyllis+2952809699	 hasn't the skill(SkillID: 29)
[08-10 01:43:51]character:Cha-BH Chest+2952810018	 hasn't the skill(SkillID: 31)
[08-10 01:43:51]character:Cha-BH Chest+2952810026	 hasn't the skill(SkillID: 31)
[08-10 09:05:00]character:Cha-BH Chest+2952808185	 hasn't the skill(SkillID: 36)
[08-10 09:10:00]character:Cha-BH Chest+2952808281	 hasn't the skill(SkillID: 328)
[08-10 09:30:00]character:Cha-CI Mob Phyllis+2952808770	 hasn't the skill(SkillID: 36)
[08-10 10:35:00]character:Cha-DC Boss+2952809656	 hasn't the skill(SkillID: 29)
[08-10 11:29:24]character:Cha-CI Mob Phyllis+2952810091	 hasn't the skill(SkillID: 28)
[08-10 18:05:45]character:Cha-KBG Chest+2952807314	 hasn't the skill(SkillID: 28)
[08-10 18:11:23]character:Cha-CI Chest 2+2952807420	 hasn't the skill(SkillID: 36)
[08-10 22:05:34]character:Cha-KBG Chest+2952807907	 hasn't the skill(SkillID: 31)
[08-10 22:07:04]character:Cha-KBG Chest+2952807908	 hasn't the skill(SkillID: 36)
[08-11 01:06:43]character:Cha-Novice Chaos Chest+2952811411	 hasn't the skill(SkillID: 36)
[08-11 08:07:04]character:Cha-CI Chest 1+2952809129	 hasn't the skill(SkillID: 28)
[08-11 08:17:10]character:Cha-CI Chest 3+2952809368	 hasn't the skill(SkillID: 36)
[08-11 14:11:33]character:Cha-KBG Chest+2952814981	 hasn't the skill(SkillID: 29)
[08-11 14:36:32]character:Cha-Tito+24	 hasn't the skill(SkillID: 325)
[08-11 15:15:00]character:Cha-BH Chest+2952815810	 hasn't the skill(SkillID: 325)
[08-11 15:15:00]character:Cha-BH Chest+2952815811	 hasn't the skill(SkillID: 28)
[08-11 22:21:32]character:Cha-KBG Chest+2952809584	 hasn't the skill(SkillID: 31)
[08-11 22:22:34]character:Cha-KBG Chest+2952809586	 hasn't the skill(SkillID: 36)
[08-12 03:19:28]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:28]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:28]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:28]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:29]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:29]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:29]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:29]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:30]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:30]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:30]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:30]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:31]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:31]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:32]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:32]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:32]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:32]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:33]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:33]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:34]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:34]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:34]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:34]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:35]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:35]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:36]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:36]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:37]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:37]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:37]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:37]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:38]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:38]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:39]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:39]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:39]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:39]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:40]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:40]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:41]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:41]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:41]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:41]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:42]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:42]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:42]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:42]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:43]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:43]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:44]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:44]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:45]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:45]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:45]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:45]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:46]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:46]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:46]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:46]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:47]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:47]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:47]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:47]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:48]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:48]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 03:19:48]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 03:19:48]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 04:00:40]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 04:00:40]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 04:00:41]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 04:00:41]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 04:00:41]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 04:00:41]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 04:00:42]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 04:00:42]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 04:00:42]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 86)
[08-12 04:00:42]character:Cha-[Boss]Evil - Glitch+2952811022	 hasn't the skill(SkillID: 123)
[08-12 11:30:00]character:Cha-CI Mob Lance+2952814550	 hasn't the skill(SkillID: 29)
[08-12 11:30:00]character:Cha-CI Mob Carsise+2952814551	 hasn't the skill(SkillID: 28)
[08-12 17:22:36]character:Cha-CI Chest 1+2952812653	 hasn't the skill(SkillID: 28)
[08-12 18:18:49]character:Cha-KBG Chest+2952814428	 hasn't the skill(SkillID: 36)
[08-12 21:17:20]character:Cha-Chibi+242	 hasn't the skill(SkillID: 275)
[08-13 00:05:00]character:Cha-CI Chest 1+2952810996	 hasn't the skill(SkillID: 28)
[08-13 04:17:36]character:Cha-CI Chest 3+2952808882	 hasn't the skill(SkillID: 28)
[08-13 04:21:01]character:Cha-CI Chest 1+2952808954	 hasn't the skill(SkillID: 29)
[08-13 14:16:31]character:Cha-KBG Chest+2952818474	 hasn't the skill(SkillID: 36)
[08-13 16:11:39]character:Cha-CI Chest 2+2952820460	 hasn't the skill(SkillID: 327)

skill failed.txt

[08-09 23:04:47]role's name Cha-DavidChan+95¡£
[08-11 05:46:25]role's name Cha-Danny+6¡£
[08-11 14:42:31]role's name Cha-Tito+24¡£
[08-12 01:57:37]role's name Cha-OmgBroLol+98¡£
[08-13 15:30:57]role's name Cha-Grass+234¡£

Skill Log

[08-11 18:25:50]Mashiro Matuc  deathmatch  Spiritual Bolt  10  15488.7278  
[08-11 18:26:06]Mashiro Mambo  deathmatch  Spiritual Bolt  10  15488.7278  
[08-11 21:03:55]Mashiro Akashi  garner2  Spiritual Bolt  10  10090.9094  
[08-11 21:04:01]Mashiro Akashi  garner2  Spiritual Bolt  10  10156.8974  
[08-12 04:19:59]Breitz Ynan  chaosicicle  Spiritual Bolt  10  2856  
[08-12 05:14:22]buff Danny  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:14:33]buff Danny  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:14:37]buff Danny  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:18:08]buff Frost  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:18:23]buff Frost  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:18:27]buff Frost  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:18:33]buff Frost  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:18:40]buff Akashi  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:19:57]buff Danny  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:21:55]buff 1000Years  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:22:35]buff Breitz  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:25:07]buff 1000Years  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:25:12]buff Mashiro  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:36:00]buff Akashi  deathcircle  Spiritual Bolt  8  1538  
[08-12 05:36:29]Mashiro 1000Years  deathcircle  Spiritual Bolt  10  13608.0698  
[08-12 05:36:42]Mashiro Frost  deathcircle  Spiritual Bolt  10  13608.0698  
[08-12 05:37:12]Mashiro Danny  deathcircle  Spiritual Bolt  10  16541.2364  
[08-13 01:03:40]Breitz Horse  deathcircle  Spiritual Bolt  10  3029  
[08-13 01:23:56]Mashiro Polar  deathcircle  Spiritual Bolt  10  11796.6992  
[08-13 01:37:10]Mashiro Danny  deathcircle  Spiritual Bolt  10  11796.6992  
[08-13 01:37:15]Mashiro Danny  deathcircle  Spiritual Bolt  10  16541.2364  

skill reset

[08-09 22:42:34][Kuuhaku] [id:62 lv:10]
[08-09 22:42:34][Kuuhaku] [id:65 lv:10]
[08-09 22:42:34][Kuuhaku] [id:66 lv:10]
[08-09 22:42:34][Kuuhaku] [id:70 lv:10]
[08-09 22:42:34][Kuuhaku] [id:81 lv:10]
[08-09 22:42:34][Kuuhaku] [id:84 lv:10]
[08-09 22:42:34][Kuuhaku] [id:86 lv:10]
[08-09 22:42:34][Kuuhaku] [id:87 lv:9]
[08-09 22:42:34][Kuuhaku] [id:109 lv:10]
[08-09 22:42:34][Kuuhaku] [id:123 lv:10]
[08-09 23:36:01][Collapse] [id:62 lv:10]
[08-09 23:36:01][Collapse] [id:65 lv:10]
[08-09 23:36:01][Collapse] [id:66 lv:10]
[08-09 23:36:01][Collapse] [id:70 lv:10]
[08-09 23:36:01][Collapse] [id:81 lv:10]
[08-09 23:36:01][Collapse] [id:84 lv:10]
[08-09 23:36:01][Collapse] [id:86 lv:10]
[08-09 23:36:01][Collapse] [id:87 lv:10]
[08-09 23:36:01][Collapse] [id:109 lv:10]
[08-09 23:36:01][Collapse] [id:123 lv:10]
[08-10 03:30:23][Charly] [id:62 lv:10]
[08-10 03:30:23][Charly] [id:65 lv:10]
[08-10 03:30:23][Charly] [id:66 lv:9]
[08-10 03:30:23][Charly] [id:70 lv:10]
[08-10 03:30:23][Charly] [id:81 lv:10]
[08-10 03:30:23][Charly] [id:84 lv:10]
[08-10 03:30:23][Charly] [id:86 lv:10]
[08-10 03:30:23][Charly] [id:87 lv:10]
[08-10 03:30:23][Charly] [id:109 lv:10]
[08-10 03:30:23][Charly] [id:123 lv:10]
[08-10 09:54:35][RyybooK] [id:62 lv:10]
[08-10 09:54:35][RyybooK] [id:65 lv:10]
[08-10 09:54:35][RyybooK] [id:66 lv:10]
[08-10 09:54:35][RyybooK] [id:70 lv:10]
[08-10 09:54:35][RyybooK] [id:81 lv:10]
[08-10 09:54:35][RyybooK] [id:84 lv:10]
[08-10 09:54:35][RyybooK] [id:86 lv:10]
[08-10 09:54:35][RyybooK] [id:109 lv:10]
[08-10 09:54:35][RyybooK] [id:123 lv:10]
[08-10 13:06:26][Ynan] [id:74 lv:10]
[08-10 15:36:56][Syn] [id:74 lv:10]
[08-10 15:36:56][Syn] [id:75 lv:10]
[08-10 15:36:56][Syn] [id:90 lv:5]
[08-10 15:36:56][Syn] [id:93 lv:10]
[08-10 15:36:56][Syn] [id:112 lv:1]
[08-10 15:36:56][Syn] [id:223 lv:10]
[08-10 22:19:48][SonOfDarkness] [id:62 lv:10]
[08-10 22:19:48][SonOfDarkness] [id:65 lv:10]
[08-10 22:19:48][SonOfDarkness] [id:66 lv:10]
[08-10 22:19:48][SonOfDarkness] [id:70 lv:10]
[08-10 22:19:48][SonOfDarkness] [id:81 lv:10]
[08-10 22:19:48][SonOfDarkness] [id:84 lv:10]
[08-10 22:19:48][SonOfDarkness] [id:86 lv:10]
[08-10 22:19:48][SonOfDarkness] [id:109 lv:10]
[08-10 22:19:48][SonOfDarkness] [id:123 lv:10]
[08-11 02:42:29][Kodaq] [id:74 lv:10]
[08-11 02:42:29][Kodaq] [id:75 lv:10]
[08-11 02:42:29][Kodaq] [id:78 lv:10]
[08-11 02:42:29][Kodaq] [id:90 lv:10]
[08-11 02:42:29][Kodaq] [id:93 lv:7]
[08-11 02:42:29][Kodaq] [id:94 lv:10]
[08-11 02:42:29][Kodaq] [id:95 lv:10]
[08-11 02:42:29][Kodaq] [id:96 lv:10]
[08-11 02:42:29][Kodaq] [id:112 lv:1]
[08-11 02:42:29][Kodaq] [id:113 lv:10]
[08-11 02:42:29][Kodaq] [id:223 lv:10]
[08-11 02:42:29][Kodaq] [id:224 lv:1]
[08-11 07:14:45][Random] [id:62 lv:10]
[08-11 07:14:45][Random] [id:65 lv:10]
[08-11 07:14:45][Random] [id:66 lv:10]
[08-11 07:14:45][Random] [id:70 lv:10]
[08-11 07:14:45][Random] [id:81 lv:10]
[08-11 07:14:45][Random] [id:84 lv:10]
[08-11 07:14:45][Random] [id:86 lv:10]
[08-11 07:14:45][Random] [id:87 lv:9]
[08-11 07:14:45][Random] [id:109 lv:10]
[08-11 07:14:45][Random] [id:123 lv:10]
[08-11 08:49:19][Mae] [id:74 lv:10]
[08-11 08:49:19][Mae] [id:75 lv:10]
[08-11 08:49:19][Mae] [id:78 lv:10]
[08-11 08:49:19][Mae] [id:90 lv:4]
[08-11 08:49:19][Mae] [id:93 lv:10]
[08-11 08:49:19][Mae] [id:94 lv:10]
[08-11 08:49:19][Mae] [id:95 lv:10]
[08-11 08:49:19][Mae] [id:96 lv:10]
[08-11 08:49:19][Mae] [id:112 lv:1]
[08-11 08:49:19][Mae] [id:113 lv:1]
[08-11 08:49:19][Mae] [id:223 lv:10]
[08-11 08:49:19][Mae] [id:224 lv:1]
[08-11 16:33:21][zEscanor] [id:62 lv:10]
[08-11 16:33:21][zEscanor] [id:64 lv:10]
[08-11 16:33:21][zEscanor] [id:66 lv:10]
[08-11 16:33:21][zEscanor] [id:67 lv:10]
[08-11 16:33:21][zEscanor] [id:68 lv:10]
[08-11 16:33:21][zEscanor] [id:81 lv:10]
[08-11 16:33:21][zEscanor] [id:82 lv:2]
[08-11 16:33:21][zEscanor] [id:83 lv:10]
[08-11 16:33:21][zEscanor] [id:84 lv:10]
[08-11 16:33:21][zEscanor] [id:107 lv:8]
[08-11 16:33:21][zEscanor] [id:127 lv:5]
[08-11 16:33:21][zEscanor] [id:222 lv:4]
[08-11 17:59:46][Mambo] [id:74 lv:10]
[08-11 17:59:46][Mambo] [id:75 lv:10]
[08-11 17:59:46][Mambo] [id:78 lv:10]
[08-11 17:59:46][Mambo] [id:90 lv:10]
[08-11 17:59:46][Mambo] [id:93 lv:10]
[08-11 17:59:46][Mambo] [id:94 lv:10]
[08-11 17:59:46][Mambo] [id:95 lv:10]
[08-11 17:59:46][Mambo] [id:96 lv:10]
[08-11 17:59:46][Mambo] [id:112 lv:3]
[08-11 17:59:46][Mambo] [id:113 lv:3]
[08-11 17:59:46][Mambo] [id:223 lv:10]
[08-11 17:59:46][Mambo] [id:224 lv:3]
[08-11 18:07:36][Matuc] [id:62 lv:10]
[08-11 18:07:36][Matuc] [id:65 lv:10]
[08-11 18:07:36][Matuc] [id:66 lv:10]
[08-11 18:07:36][Matuc] [id:70 lv:10]
[08-11 18:07:36][Matuc] [id:81 lv:10]
[08-11 18:07:36][Matuc] [id:84 lv:10]
[08-11 18:07:36][Matuc] [id:86 lv:10]
[08-11 18:07:36][Matuc] [id:109 lv:10]
[08-11 18:07:36][Matuc] [id:123 lv:10]
[08-11 20:02:14][Autism] [id:79 lv:8]
[08-11 20:02:14][Autism] [id:80 lv:2]
[08-11 20:02:14][Autism] [id:97 lv:3]
[08-11 20:02:14][Autism] [id:98 lv:4]
[08-11 20:02:14][Autism] [id:99 lv:10]
[08-11 20:02:14][Autism] [id:100 lv:4]
[08-11 20:02:14][Autism] [id:101 lv:1]
[08-11 20:02:14][Autism] [id:102 lv:3]
[08-11 20:02:14][Autism] [id:103 lv:2]
[08-11 20:02:14][Autism] [id:106 lv:10]
[08-11 20:02:14][Autism] [id:116 lv:2]
[08-11 20:02:14][Autism] [id:122 lv:1]
[08-11 20:02:14][Autism] [id:124 lv:1]
[08-11 20:02:14][Autism] [id:225 lv:3]
[08-12 01:49:57][Panda] [id:62 lv:9]
[08-12 01:49:57][Panda] [id:63 lv:1]
[08-12 01:49:57][Panda] [id:64 lv:10]
[08-12 01:49:57][Panda] [id:66 lv:2]
[08-12 01:49:57][Panda] [id:67 lv:10]
[08-12 01:49:57][Panda] [id:68 lv:10]
[08-12 01:49:57][Panda] [id:81 lv:10]
[08-12 01:49:57][Panda] [id:82 lv:2]
[08-12 01:49:57][Panda] [id:83 lv:10]
[08-12 01:49:57][Panda] [id:84 lv:10]
[08-12 01:49:57][Panda] [id:107 lv:10]
[08-12 01:49:57][Panda] [id:127 lv:5]
[08-12 01:49:57][Panda] [id:222 lv:4]
[08-12 01:49:57][Panda] [id:242 lv:5]
[08-12 01:49:57][Panda] [id:243 lv:1]
[08-12 22:04:49][Elves] [id:62 lv:10]
[08-12 22:04:49][Elves] [id:65 lv:10]
[08-12 22:04:49][Elves] [id:66 lv:10]
[08-12 22:04:49][Elves] [id:70 lv:10]
[08-12 22:04:49][Elves] [id:81 lv:10]
[08-12 22:04:49][Elves] [id:84 lv:10]
[08-12 22:04:49][Elves] [id:86 lv:10]
[08-12 22:04:49][Elves] [id:109 lv:10]
[08-12 22:04:49][Elves] [id:123 lv:10]
[08-13 01:03:20][Kodaqq] [id:62 lv:10]
[08-13 01:03:20][Kodaqq] [id:64 lv:10]
[08-13 01:03:20][Kodaqq] [id:66 lv:2]
[08-13 01:03:20][Kodaqq] [id:67 lv:10]
[08-13 01:03:20][Kodaqq] [id:68 lv:10]
[08-13 01:03:20][Kodaqq] [id:81 lv:10]
[08-13 01:03:20][Kodaqq] [id:82 lv:7]
[08-13 01:03:20][Kodaqq] [id:83 lv:10]
[08-13 01:03:20][Kodaqq] [id:84 lv:10]
[08-13 01:03:20][Kodaqq] [id:107 lv:10]
[08-13 01:03:20][Kodaqq] [id:127 lv:5]
[08-13 01:03:20][Kodaqq] [id:222 lv:5]
[08-13 03:58:31][Suzy] [id:74 lv:10]
[08-13 03:58:31][Suzy] [id:75 lv:10]
[08-13 03:58:31][Suzy] [id:78 lv:10]
[08-13 04:42:53][Minhee] [id:79 lv:10]
[08-13 04:42:53][Minhee] [id:80 lv:10]
[08-13 04:42:53][Minhee] [id:97 lv:3]
[08-13 04:42:53][Minhee] [id:98 lv:4]
[08-13 04:42:53][Minhee] [id:99 lv:2]
[08-13 04:42:53][Minhee] [id:100 lv:10]
[08-13 04:42:53][Minhee] [id:101 lv:10]
[08-13 04:42:53][Minhee] [id:102 lv:10]
[08-13 04:42:53][Minhee] [id:103 lv:10]
[08-13 04:42:53][Minhee] [id:106 lv:1]
[08-13 04:42:53][Minhee] [id:116 lv:2]
[08-13 04:42:53][Minhee] [id:122 lv:1]
[08-13 04:42:53][Minhee] [id:124 lv:1]
[08-13 04:42:53][Minhee] [id:225 lv:10]
[08-13 07:04:26][Grass] [id:79 lv:10]
[08-13 07:04:26][Grass] [id:80 lv:10]
[08-13 07:04:26][Grass] [id:97 lv:10]
[08-13 07:04:26][Grass] [id:98 lv:4]
[08-13 07:04:26][Grass] [id:99 lv:8]
[08-13 07:04:26][Grass] [id:100 lv:10]
[08-13 07:04:26][Grass] [id:101 lv:10]
[08-13 07:04:26][Grass] [id:102 lv:10]
[08-13 07:04:26][Grass] [id:103 lv:10]
[08-13 07:04:26][Grass] [id:106 lv:2]
[08-13 07:04:26][Grass] [id:116 lv:3]
[08-13 07:04:26][Grass] [id:122 lv:1]
[08-13 07:04:26][Grass] [id:124 lv:1]
[08-13 07:04:26][Grass] [id:225 lv:10]
[08-13 16:53:30][Pao] [id:79 lv:10]
[08-13 16:53:30][Pao] [id:80 lv:10]
[08-13 16:53:30][Pao] [id:97 lv:10]
[08-13 16:53:30][Pao] [id:98 lv:10]
[08-13 16:53:30][Pao] [id:99 lv:10]
[08-13 16:53:30][Pao] [id:100 lv:10]
[08-13 16:53:30][Pao] [id:101 lv:10]
[08-13 16:53:30][Pao] [id:104 lv:10]
[08-13 16:53:30][Pao] [id:105 lv:10]
[08-13 16:53:30][Pao] [id:116 lv:10]
[08-13 16:53:30][Pao] [id:119 lv:10]
[08-13 16:53:30][Pao] [id:121 lv:10]
[08-13 16:53:30][Pao] [id:124 lv:10]
[08-13 16:53:30][Pao] [id:225 lv:10]

skill_error

[08-10 18:41:52][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 2892250 ms, skill cooldown = 2500
[08-10 19:14:29][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 1957125 ms, skill cooldown = 2500
[08-11 05:02:08][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 364172 ms, skill cooldown = 2500
[08-11 05:43:25][Tempest Dragon] use [Bare Hand] skill, interval time account error, interval last time 2375 ms, skill cooldown = 500
[08-11 05:43:25][Tempest Dragon] use [Bare Hand] skill, interval time account error, interval last time 2453 ms, skill cooldown = 500
[08-11 05:43:46][Baby Thunder Dragon] use [Bare Hand] skill, interval time account error, interval last time 1875 ms, skill cooldown = 500
[08-11 05:43:46][Baby Thunder Dragon] use [Bare Hand] skill, interval time account error, interval last time 1953 ms, skill cooldown = 500
[08-11 05:45:33][Baby Thunder Dragon] use [Bare Hand] skill, interval time account error, interval last time 103079 ms, skill cooldown = 500
[08-11 05:45:33][Tempest Dragon] use [Bare Hand] skill, interval time account error, interval last time 102516 ms, skill cooldown = 500
[08-11 07:00:32][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 45234 ms, skill cooldown = 2500
[08-11 07:06:15][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 340016 ms, skill cooldown = 2500
[08-11 08:33:35][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 58750 ms, skill cooldown = 2500
[08-11 09:23:59][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 139718 ms, skill cooldown = 2500
[08-11 09:32:24][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 88922 ms, skill cooldown = 2500
[08-11 09:42:19][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 205672 ms, skill cooldown = 2500
[08-11 10:10:09][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 149719 ms, skill cooldown = 2500
[08-11 10:12:07][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 118203 ms, skill cooldown = 2500
[08-11 10:21:49][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 149985 ms, skill cooldown = 2500
[08-11 10:23:27][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 98344 ms, skill cooldown = 2500
[08-11 10:24:33][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 65593 ms, skill cooldown = 2500
[08-11 10:56:54][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 1940672 ms, skill cooldown = 2500
[08-13 19:20:42][Forest Hunter] use [Shadow Quiver] skill, interval time account error, interval last time 239609 ms, skill cooldown = 2500

 


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites

@x3wor

 

 

function MAGIC_Atk_Dmg(a,b) --[[计算普通攻击的基本正常伤害]]--

	local job = GetChaAttr(a, ATTR_JOB) --不同职业采用不同的属性成长率
	local sta_atker = Sta(a) 
	local sta_defer = Sta(b) 
	local atk_mnatk = math.floor (MnatkIb(a) + sta_atker*Magic_rate1[job] +  Magic_rate2[job] * math.pow(math.floor( sta_atker*4/20), 2 ))
	local atk_mxatk = math.floor (MxatkIb(a)  + sta_atker*Magic_rate1[job] + Magic_rate2[job] * math.pow(math.floor( sta_atker*4/20), 2 ))
	local defer_mgic_def = sta_defer * 2  
	local defer_resist = Resist(b)  
	local atker_lv = Lv( a ) 
	local defer_lv = Lv( b ) 
	local lv_dis = atker_lv - defer_lv 
	local lv_eff = 1 
	if math.abs (lv_dis) >= 1 then 
		lv_eff =math.min (  math.max ( 0.5 , 1 + 0.025 * lv_dis ) , 1.5 )  
	end 
		
	local atk = math.random( atk_mnatk , atk_mxatk ) 
	local dmg = Magic_Dmg ( atk, defer_mgic_def , defer_resist )  --[[计算正常伤害值]]--
	local mndmg = math.floor(  Lv(a) * 0.25 + Mnatk(a) * 0 ) + 1 --[[计算最小伤害值]]--
	dmg =math.max(  lv_eff * dmg , mndmg ) 
	
	--5x damage on monsters
	if (IsPlayer(b) == 0) then
		dmg = dmg * 10
	end	

	return dmg 
end 

Perhaps I can send you my skilleffect.lua ?


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
function MAGIC_Atk_Dmg(a,b) --[[计算普通攻击的基本正常伤害]]--

	local job = GetChaAttr(a, ATTR_JOB) --不同职业采用不同的属性成长率
	local sta_atker = Sta(a) 
	local sta_defer = Sta(b) 
	local atk_mnatk = math.floor (MnatkIb(a) + sta_atker*Magic_rate1[job] +  Magic_rate2[job] * math.pow(math.floor( sta_atker*4/20), 2 ))
	local atk_mxatk = math.floor (MxatkIb(a)  + sta_atker*Magic_rate1[job] + Magic_rate2[job] * math.pow(math.floor( sta_atker*4/20), 2 ))
	local defer_mgic_def = sta_defer * 2  
	local defer_resist = Resist(b)  
	local atker_lv = Lv( a ) 
	local defer_lv = Lv( b ) 
	local lv_dis = atker_lv - defer_lv 
	local lv_eff = 1 
	if math.abs (lv_dis) >= 1 then 
		lv_eff =math.min (  math.max ( 0.5 , 1 + 0.025 * lv_dis ) , 1.5 )  
	end 
		
	local atk = math.random( atk_mnatk , atk_mxatk ) 
	local dmg = Magic_Dmg ( atk, defer_mgic_def , defer_resist )  --[[计算正常伤害值]]--
	local mndmg = math.floor(  Lv(a) * 0.25 + Mnatk(a) * 0 ) + 1 --[[计算最小伤害值]]--
	dmg =math.max(  lv_eff * dmg , mndmg ) 

	return dmg 
end 

@Ecstasy as far as I seen, you tried to applicate multiplied damage on monsters, try using this function without the damage part and let me know if it does show damage.

Share this post


Link to post
Share on other sites
3 minutes ago, Ecstasy said:

@x3wor I think you should look at my skilleffect.lua as it seems I have more of (MAGIC_Atk_Dmg) and perhaps help me remove some?

There should be strictly one function named MAGIC_Atk_Dmg, else you will have problems.

 

Functions with names as function MAGIC_Atk_Dmg(a,b) should be removed and keep only one.

 

Share this post


Link to post
Share on other sites
7 hours ago, x3wor said:

@Onioni I don't think it is coming from cha_timer.

@Ecstasy Can you provide this following function from skilleffect.lua? (MAGIC_Atk_Dmg)

i know its not i was once with same problem was need to wear corals  to deal damage.. so well in page what Ecstasy said was lame informations, so i asked him to show logs like LGMgr.log , lua_ai.log and lua_err.log if there was something wrong... But the error was coming out when he tried to make that voy don't need corals...

 

@Ecstasy next time tell what did you do before that error became. asking help for something that can be in anywhere is hard, so there no need few page posts to solve problem and well good to u find your answer.

 

Edited by Onioni
  • Like 1

Download: Nightmare Demonic Helm

Dimension Pirates Online files: get now

New map Project: Flag PK

Black Skin 3.1.3 for pko 1: Get now

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...