Skip to content

Commit

Permalink
add: Quadav Belt costume
Browse files Browse the repository at this point in the history
  • Loading branch information
ampitere committed May 16, 2024
1 parent bff4a57 commit b63263f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions scripts/items/quadav_belt.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
-----------------------------------
-- ID: 10848
-- Quadav Belt
-- Enchantment: 60Min, Costume - Quadav
-----------------------------------
local itemObject = {}

itemObject.onItemCheck = function(target)
if not target:canUseMisc(xi.zoneMisc.COSTUME) then
return xi.msg.basic.CANT_BE_USED_IN_AREA
end

return 0
end

itemObject.onItemUse = function(target)
target:addStatusEffect(xi.effect.COSTUME, 644, 0, 3600)
end

return itemObject
1 change: 1 addition & 0 deletions sql/item_usable.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1980,6 +1980,7 @@ INSERT INTO `item_usable` VALUES (10293,'chocobo_shirt',1,8,0,0,1,30,72000,0);
INSERT INTO `item_usable` VALUES (10383,'dream_mittens_+1',1,6,24,0,1,30,7200,0);
INSERT INTO `item_usable` VALUES (10796,'decennial_ring',1,3,76,0,10,15,3600,0);
INSERT INTO `item_usable` VALUES (10812,'chocobo_shield_+1',1,8,0,0,1,30,86400,0);
INSERT INTO `item_usable` VALUES (10848,'quadav_belt',1,1,0,0,1,30,3600,0);
INSERT INTO `item_usable` VALUES (10875,'snowman_cap',1,1,0,0,1,30,3600,0);
INSERT INTO `item_usable` VALUES (11002,'dragon_tank',1,1,55,0,5,30,60,0);
INSERT INTO `item_usable` VALUES (11273,'custom_gilet_+1',1,8,0,0,1,30,72000,0);
Expand Down

0 comments on commit b63263f

Please sign in to comment.