Jump to content
Sign in to follow this  
WVWMK

[Скрипт]Увеличение наносимого урона по героям и мобам

Recommended Posts

Изменяем наносимый урон из под скриптов находим Hp_Dmg(role,dmg) в function.lua

function.lua

function Hp_Dmg(role,dmg) 
local Can_Pk_Garner2 = Is_NormalMonster (role)
	if Can_Pk_Garner2 == 0 then -- если игрок
			dmg = dmg *  0.1 -- Урон по героям
	end
	
	if Can_Pk_Garner2 == 1 then -- урон по мобам
		dmg = dmg * 2
	end

...

end

 


Делай добро и бросай его в воду

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...