-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3558 from Kherae/master
small stuff
- Loading branch information
Showing
56 changed files
with
774 additions
and
853 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"version":1.2, | ||
"modifier":1.5, | ||
"effectList":{ | ||
"cold":["ffbiomecold0","ffbiomecold1","ffbiomecold2","ffbiomecold3","ffbiomecold4"], | ||
"heat":["ffbiomeheat1","ffbiomeheat2","ffbiomeheat3"], | ||
"natureStings":["desertweathernew","desertweathernewdeadly","jungleweathernew","beesting"], | ||
"aether":["aetherweathernew","aetherweathernew2","aetherweathernew3"], | ||
"electric":["ffbiomeelectric1","ffbiomeelectric2","ffbiomeelectric3"], | ||
"radiation":["radioactiveweathernew","radioactiveweathernew2","radioactiveweathernew3"], | ||
"poisons":["biomepoison1","biomepoison2","biomepoison3","booze","booze2","booze3","protoweather"], | ||
"sulphuric":["sulphuricweathernew","sulphuricweathernew2","sulphuricweathernew3","sulphuricweathernew4"], | ||
"gases":["fu_nooxygen","helium3","shadowgasfx"], | ||
"pressure":["gasworld1","gasworld2","gasworld3"], | ||
"dark":["superdarkstatlarge","superdarkstatmid","superdarkstat"], | ||
"ghosts":["erchiussickness","erchiussickness2","erchiussickness3"], | ||
"insanity":["insanitynew","insanitynew2","insanitynew3unknown"], | ||
"time":["futimeweather","organicsoupeffect"] | ||
} | ||
} |
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 |
---|---|---|
@@ -1,24 +1,12 @@ | ||
--didit = false | ||
|
||
function init() | ||
--[[self.species = world.entitySpecies(entity.id()) | ||
if not self.species then return else didit = true end | ||
self.raceJson = root.assetJson("/species/argonian.raceeffect") | ||
self.specialConfig = self.raceJson.specialConfig | ||
]] | ||
script.setUpdateDelta(10) | ||
bonusHandler=effect.addStatModifierGroup({}) | ||
end | ||
|
||
function update(dt) | ||
--if not didit then init() end | ||
|
||
effect.setStatModifierGroup(bonusHandler,{{stat="healthRegen",amount=status.stat("maxHealth")*0.0023810714*math.max(0,1+status.stat("healingBonus"))}}) | ||
--self.healingRate = 1.00005 / 420 -- health per time - 0.005% health per 420ms, I think --420 seconds to reach 100.005%, or 419.97900104 seconds to restore 100% -khe | ||
--status.modifyResourcePercentage("health", self.healingRate * dt) | ||
effect.setStatModifierGroup(bonusHandler,{{stat="healthRegen",amount=status.stat("maxHealth")*0.0023810714*math.max(0,1+status.stat("healingBonus"))}}) | ||
end | ||
|
||
function uninit() | ||
effect.removeStatModifierGroup(bonusHandler) | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
stats/effects/fu_effects/guardianwings/blueguardian.statuseffect
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 was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
stats/effects/fu_effects/guardianwings/greenguardian.statuseffect
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,17 @@ | ||
function init() | ||
script.setUpdateDelta(5) | ||
self.healingRate=config.getParameter("regenRate",1/200) | ||
bonusHandler=effect.addStatModifierGroup({}) | ||
end | ||
|
||
function update(dt) | ||
if (world.entityType(entity.id())=="player") or status.resource("health")>=1 then | ||
effect.setStatModifierGroup(bonusHandler,{{stat="healthRegen",amount=status.resourceMax("health")*self.healingRate*math.max(0,1+status.stat("healingBonus"))}}) | ||
else | ||
effect.setStatModifierGroup(bonusHandler,{}) | ||
end | ||
end | ||
|
||
function uninit() | ||
effect.removeStatModifierGroup(bonusHandler) | ||
end |
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
stats/effects/fu_effects/guardianwings/isogenguardian.statuseffect
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 was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
stats/effects/fu_effects/guardianwings/orangeguardian.statuseffect
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 was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
stats/effects/fu_effects/guardianwings/pinkguardian.statuseffect
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
11 changes: 0 additions & 11 deletions
11
stats/effects/fu_effects/guardianwings/xithriciteguardian.lua
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
stats/effects/fu_effects/guardianwings/xithriciteguardian.statuseffect
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 was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
stats/effects/fu_effects/guardianwings/yellowguardian.statuseffect
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 |
---|---|---|
@@ -1,13 +1,7 @@ | ||
function init() | ||
effect.addStatModifierGroup({ | ||
{stat = "physicalResistance", amount = 0.15}, | ||
{stat = "fallDamageMultiplier", effectiveMultiplier = 0.7} | ||
}) | ||
script.setUpdateDelta(0) | ||
end | ||
|
||
function update(dt) | ||
bonusHandler=effect.addStatModifierGroup({{stat = "physicalResistance", amount = 0.15},{stat = "fallDamageMultiplier", effectiveMultiplier = 0.7}}) | ||
end | ||
|
||
function uninit() | ||
effect.removeStatModifierGroup(bonusHandler) | ||
end |
Oops, something went wrong.