Admin Admin
Mensagens : 59 Data de inscrição : 06/08/2010 Idade : 28 Localização : Cachoeiro de Itapemirim
| Assunto: Adicionando BD Mobs Scroll... Sex Ago 06, 2010 4:10 pm | |
| Vá na pasta do seu server no meu caso...E:\server\resource e vá na pasta script/calculate e abra o arquivo skillefect.lua e coloque lá no final o cod abaixo: - Código:
-
--------------Black Dragon Lance summon scroll function BD_lance ( role , Item ) local Cha_Boat = 0 Cha_Boat = GetCtrlBoat ( role ) if Cha_Boat ~= nil then SystemNotice( role , "Cannot use while sailing" ) UseItemFailed ( role ) return end local star = 0 star =IsChaInRegion( role, 2 ) if star == 1 then SystemNotice( role , "Unable to summon monster in Safe Zone" ) UseItemFailed ( role ) return end local x, y = GetChaPos(role) local MonsterID = 883 local Refresh = 3700 --ÖØÉúʱ¼ä£¬Ã뵥λ local life = 3600000 --ÉúÃüʱ¼ä£¬ºÁÃ뵥λ local new = CreateChaX( MonsterID , x , y , 145 , Refresh, role ) SetChaLifeTime( new, life ) end
--------------Black Dragon Carsise summon scroll function BD_champ ( role , Item ) local Cha_Boat = 0 Cha_Boat = GetCtrlBoat ( role ) if Cha_Boat ~= nil then SystemNotice( role , "Cannot use while sailing" ) UseItemFailed ( role ) return end local star = 0 star =IsChaInRegion( role, 2 ) if star == 1 then SystemNotice( role , "Unable to summon monster in Safe Zone" ) UseItemFailed ( role ) return end local x, y = GetChaPos(role) local MonsterID = 884 local Refresh = 3700 --ÖØÉúʱ¼ä£¬Ã뵥λ local life = 3600000 --ÉúÃüʱ¼ä£¬ºÁÃ뵥λ local new = CreateChaX( MonsterID , x , y , 145 , Refresh, role ) SetChaLifeTime( new, life ) end
--------------Black Dragon Phyllis summon scroll function BD_phyllis ( role , Item ) local Cha_Boat = 0 Cha_Boat = GetCtrlBoat ( role ) if Cha_Boat ~= nil then SystemNotice( role , "Cannot use while sailing" ) UseItemFailed ( role ) return end local star = 0 star =IsChaInRegion( role, 2 ) if star == 1 then SystemNotice( role , "Unable to summon monster in Safe Zone" ) UseItemFailed ( role ) return end local x, y = GetChaPos(role) local MonsterID = 885 local Refresh = 3700 --ÖØÉúʱ¼ä£¬Ã뵥λ local life = 3600000 --ÉúÃüʱ¼ä£¬ºÁÃ뵥λ local new = CreateChaX( MonsterID , x , y , 145 , Refresh, role ) SetChaLifeTime( new, life ) end
--------------Black Dragon Ami summon scroll function BD_ami ( role , Item ) local Cha_Boat = 0 Cha_Boat = GetCtrlBoat ( role ) if Cha_Boat ~= nil then SystemNotice( role , "Cannot use while sailing" ) UseItemFailed ( role ) return end local star = 0 star =IsChaInRegion( role, 2 ) if star == 1 then SystemNotice( role , "Unable to summon monster in Safe Zone" ) UseItemFailed ( role ) return end local x, y = GetChaPos(role) local MonsterID = 886 local Refresh = 3700 --ÖØÉúʱ¼ä£¬Ã뵥λ local life = 3600000 --ÉúÃüʱ¼ä£¬ºÁÃ뵥λ local new = CreateChaX( MonsterID , x , y , 145 , Refresh, role ) SetChaLifeTime( new, life ) end Agora add no iteminfo.txt o cod abaixo e troque os ID's. - Código:
-
5921 BD Lance Scroll n0347 10130005 0 0 0 0 0 00 31 0 0 0 0 0 1 1 1 1 99 0 360 -1 0 -1 0 0 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0 0 0,0 0 0 0 0 0 0 0 0 0 BD_lance 0 0 0 0 0 0 Summon a Black Dragon Lance for 1 hour. 5922 BD Champ Scroll n0347 10130005 0 0 0 0 0 00 31 0 0 0 0 0 1 1 1 1 99 0 360 -1 0 -1 0 0 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0 0 0,0 0 0 0 0 0 0 0 0 0 BD_champ 0 0 0 0 0 0 Summon a Black Dragon Champion for 1 hour. 5923 BD Phyllis Summon Scroll n0347 10130005 0 0 0 0 0 00 31 0 0 0 0 0 1 1 1 1 99 0 360 -1 0 -1 0 0 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0 0 0,0 0 0 0 0 0 0 0 0 0 BD_phyllis 0 0 0 0 0 0 Summon a Black Dragon Phyllis for 1 hour. 5924 BD Ami Summon Scroll n0347 10130005 0 0 0 0 0 00 31 0 0 0 0 0 1 1 1 1 99 0 360 -1 0 -1 0 0 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0 0 0,0 0 0 0 0 0 0 0 0 0 BD_ami 0 0 0 0 0 0 Summon a Black Dragon Ami for 1 hour. | |
|