forked from LandSandBoat/server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AMK][Lua] Cardian orb drop mechanic (LandSandBoat#4800)
* AMK6: Added mechanic to drop KI orbs for cardians * Fixed null player check
- Loading branch information
Showing
37 changed files
with
194 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Ten of Batons | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_BATONS) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Ten of Coins | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_COINS) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Ten of Cups | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_CUPS) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Ten of Swords | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_SWORDS) | ||
end | ||
|
||
return entity |
11 changes: 11 additions & 0 deletions
11
scripts/zones/Outer_Horutoto_Ruins/mobs/Three_of_Batons.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Three of Batons | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_BATONS) | ||
end | ||
|
||
return entity |
11 changes: 11 additions & 0 deletions
11
scripts/zones/Outer_Horutoto_Ruins/mobs/Three_of_Coins.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Three of Coins | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_COINS) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Three of Cups | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_CUPS) | ||
end | ||
|
||
return entity |
11 changes: 11 additions & 0 deletions
11
scripts/zones/Outer_Horutoto_Ruins/mobs/Three_of_Swords.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Three of Swords | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_SWORDS) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Two of Batons | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_BATONS) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Two of Coins | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_COINS) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Two of Cups | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_CUPS) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
----------------------------------- | ||
-- Area: Outer Horutoto Ruins | ||
-- Mob: Two of Swords | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
xi.amk.helpers.cardianOrbDrop(mob, player, xi.ki.ORB_OF_SWORDS) | ||
end | ||
|
||
return entity |