-
Content Count
28 -
Joined
-
Last visited
-
Days Won
3
NabSlayer last won the day on June 17 2020
NabSlayer had the most liked content!
Community Reputation
12 NeutralAbout NabSlayer
-
Rank
Cabin Boy
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
it's so hard download any clean files and just search for it inside? function ItemUse_YingbiBox ( role , Item ) local map_name_role = GetChaMapName ( role ) if map_name_role == "darkblue" then local lv = GetChaAttr ( role , ATTR_LV ) if lv >= 10 then local Item_CanGet = GetChaFreeBagGridNum ( role ) if Item_CanGet < 4 then SystemNotice(role ,"开启精灵硬币宝箱至少需要4个格子") UseItemFailed ( role ) return end local ChaName = GetChaDefaultName(role) if PlayUseBox1[ChaName] == nil then PlayUseBox1[ChaName] = 0 end local Use_Num = PlayUseBox1[ChaName] local now_day= os.date("%d") -------------日 local now_month= os.date("%m") -------------月 now_month= tonumber(now_month) -------------月 now_day = tonumber(now_day) -------------日 local Date = JNSTime_Flag[now_month]+now_day local Yingbi_Num = 0 if Use_Num == 0 then local Time = 1 Use_Num = Date * 10 + Time Yingbi_Num = 20 local j = TakeItem ( role , 0 , 855 , Yingbi_Num ) if j == 1 then PlayUseBox1[ChaName] = Use_Num GiveBragiItem ( role , 1 ) GiveItem ( role , 0 , 1872 , 1 , 4 ) else UseItemFailed ( role ) SystemNotice( role, "精灵硬币不足") end else local Date_Box = math.floor ( Use_Num / 10 ) local a = Date - Date_Box local Time = Use_Num - Date_Box * 10 --SystemNotice ( role , "a="..a) if a == 0 then Use_Num = Use_Num +1 local time_new = Time + 1 if time_new >= 1 and time_new <= 3 then Yingbi_Num = (time_new*5) + 15 --SystemNotice ( role , "Round"..time_new.."次开箱子,花费"..Yingbi_Num.."个硬币,品质为1") local j = TakeItem ( role , 0 , 855 , Yingbi_Num ) if j == 1 then GiveBragiItem ( role , 1 ) PlayUseBox1[ChaName] = Use_Num GiveItem ( role , 0 , 1872 , 1 , 4 ) else UseItemFailed ( role ) SystemNotice( role, "精灵硬币不足") end elseif time_new >= 4 and time_new <= 6 then Yingbi_Num = Time * 15 --SystemNotice ( role , "Round"..time_new.."次开箱子,花费"..Yingbi_Num.."个硬币,品质为2") local j = TakeItem ( role , 0 , 855 , Yingbi_Num ) if j == 1 then GiveBragiItem ( role , 2 ) PlayUseBox1[ChaName] = Use_Num GiveItem ( role , 0 , 1872 , 1 , 4 ) else UseItemFailed ( role ) SystemNotice( role, "精灵硬币不足") end else Yingbi_Num = 99 --SystemNotice ( role , "Round"..time_new.."次开箱子,花费"..Yingbi_Num.."个硬币,品质为3") local j = TakeItem ( role , 0 , 855 , Yingbi_Num ) if j == 1 then GiveBragiItem ( role , 3 ) PlayUseBox1[ChaName] = Use_Num GiveItem ( role , 0 , 1872 , 1 , 4 ) else UseItemFailed ( role ) SystemNotice( role, "精灵硬币不足") end end elseif a == -1 then UseItemFailed ( role ) SystemNotice ( role , "你今天已经开过10个精灵硬币宝箱了") else local Time = 1 Use_Num = Date * 10 + Time Yingbi_Num = 20 --SystemNotice ( role , "Round"..Time.."开箱子,花费"..Yingbi_Num.."个硬币") local j = TakeItem ( role , 0 , 855 , Yingbi_Num ) if j == 1 then PlayUseBox1[ChaName] = Use_Num GiveBragiItem ( role ) GiveItem ( role , 0 , 1872 , 1 , 4 ) else UseItemFailed ( role ) SystemNotice( role, "精灵硬币不足") end end end else SystemNotice( role , "等级不到10,无法使用该道具") UseItemFailed ( role ) end else SystemNotice( role , "该道具只能在深蓝群岛地图使用") UseItemFailed ( role ) end end
-
local first= CheckBagItem( role, RequiredItemID ) local second= CheckBagItem( role, RequiredSecondItemID ) local third= CheckBagItem( role, RequiredThirdItemID ) if first >=1 and second >= 1 and third >=1 then //success open chest else SystemNotice( role , "You don't have all required items" ) UseItemFailed ( role ) end didn't tested but should work, i said it using mobile phone
-
just add this line in ur script local i= CheckBagItem( role, RequiredItemID ) if i <=0 then SystemNotice( role , "ANY FAIL MESSAGE") UseItemFailed ( role ) return LUA_FALSE end and don't forget add line with Deleting required item after open local s = DelBagItem ( role , ITEMTO_DELETE , 1 )
-
how to change animation of any skill for example dual shot or slash? which number decide about character activity? it's line where is defined what is animated? and if i want change any skill animation, where get number that client know which skill is it? is it Skillinfo number?
-
hello, anyone can teach me how to edit characteraction? I would understand this file but i have no idea what is every single line, please help
-
Hello, anyone got characteraction similar to this one from this video ? I will be gratefull if anyone got and can share for this skill tweak ?
-
Change the parameters of the item - Solved ✔
NabSlayer replied to Angelpko's topic in Questions & Help
.bin file what's made by server .exe wont work, you should use compiler.bat -
probably you didn't open the map in gameserver.cfg, garner not including it
-
Skype: vector.nesterov; Discord: V3ct0r#0484; and you can message him in this forum
-
Itempre.txt (Nick Tag, nicknames and colors)
NabSlayer replied to davidviral's topic in Questions & Help
I like ur textures of ground, can you share me it? please -
With this txt editor work with txt files is very simple and clean, THANK YOU for release