mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
posion passive ability for items
This commit is contained in:
@@ -114,12 +114,11 @@ if is_production:
|
|||||||
#maps["desertland"]["key"]="jayson_desertland_copy"
|
#maps["desertland"]["key"]="jayson_desertland_copy"
|
||||||
pass
|
pass
|
||||||
|
|
||||||
game_version=810
|
game_version=812
|
||||||
SALES=4+5+388+5101+125/20 #donation+manual+macos+steam+sales
|
SALES=4+5+388+5101+125/20 #donation+manual+macos+steam+sales
|
||||||
update_notes=[
|
update_notes=[
|
||||||
"Last Update [17th of Fabruary]",
|
"Last Update [28th of February]",
|
||||||
"PR: Normalize Dead Weapon Drop Rates #159",
|
"Poison passive ability for items",
|
||||||
"PR: Destat NPC #119",
|
|
||||||
]
|
]
|
||||||
ip_to_subdomain={ #IMPORTANT: SPECIAL PAGE RULES ARE NEEDED: https://dash.cloudflare.com/b6f5a13bded5fdd273e4a1cd3777162d/adventure.land/page-rules - uss1 / eus1 was best
|
ip_to_subdomain={ #IMPORTANT: SPECIAL PAGE RULES ARE NEEDED: https://dash.cloudflare.com/b6f5a13bded5fdd273e4a1cd3777162d/adventure.land/page-rules - uss1 / eus1 was best
|
||||||
"35.187.255.184":"asia1",
|
"35.187.255.184":"asia1",
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ drops={
|
|||||||
],
|
],
|
||||||
"global":[
|
"global":[
|
||||||
#[0.000015,"goldenegg"], #originally 0.000005
|
#[0.000015,"goldenegg"], #originally 0.000005
|
||||||
[0.0000001,"5bucks"],
|
#[0.0000001,"5bucks"],
|
||||||
#[0.0002,"gift0"],
|
#[0.0002,"gift0"],
|
||||||
#[0.004,"gift1"],
|
#[0.004,"gift1"],
|
||||||
#[0.0004,"redenvelope"],
|
#[0.0004,"redenvelope"],
|
||||||
|
|||||||
+4
-2
@@ -29,10 +29,12 @@ items={
|
|||||||
"skin":"test_orb",
|
"skin":"test_orb",
|
||||||
"name":"Orb of Testing",
|
"name":"Orb of Testing",
|
||||||
#"manasteal":0.25,
|
#"manasteal":0.25,
|
||||||
"fzresistance":20,
|
#"fzresistance":20,
|
||||||
"firesistance":20,
|
#"firesistance":20,
|
||||||
#"mp_reduction":20,
|
#"mp_reduction":20,
|
||||||
#"ability":"restore_mp",
|
#"ability":"restore_mp",
|
||||||
|
"ability":"poison",
|
||||||
|
"attr0":50,
|
||||||
#"attr0":8,
|
#"attr0":8,
|
||||||
"compound":{
|
"compound":{
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1,16 +1,15 @@
|
|||||||
<div style="background: black; padding: 2px; width: 336px; border: 5px solid gray; margin-bottom: -10px; position: fixed; bottom: 276px; left: 0px; z-index: 10"
|
{#<div style="background: black; padding: 2px; width: 336px; border: 5px solid gray; margin-bottom: -10px; position: fixed; bottom: 276px; left: 0px; z-index: 10"
|
||||||
class="clickable ibshadow enableclicks salesui" onclick="btc(event); show_opensource_info()"><!-- previously margin-bottom: -5px; [16/07/18] -->
|
class="clickable ibshadow enableclicks salesui" onclick="btc(event); show_opensource_info()"><!-- previously margin-bottom: -5px; [16/07/18] -->
|
||||||
<div style="background: #3A968E; width: {{domain|sales_percent}}%; height: 30px" id="ggslider" class='flashp'></div> <!-- red #B12727 green #368C2B -->
|
<div style="background: #3A968E; width: {{domain|sales_percent}}%; height: 30px" id="ggslider" class='flashp'></div> <!-- red #B12727 green #368C2B -->
|
||||||
<div style="position: absolute; width: 316px; top: 2px; left: 0px; height: 30px; color: white; vertical-align: middle; line-height: 30px; text-align: center; font-size: 30px" id="ggui" class='clickable enableclicks' onclick="btc(event); show_opensource_info()">
|
<div style="position: absolute; width: 316px; top: 2px; left: 0px; height: 30px; color: white; vertical-align: middle; line-height: 30px; text-align: center; font-size: 30px" id="ggui" class='clickable enableclicks' onclick="btc(event); show_opensource_info()">
|
||||||
{{domain.sales|to_pretty_num}} / 10,000
|
{{domain.sales|to_pretty_num}} / 10,000
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>#}
|
||||||
<div id="features" style="font-size: 24px; max-width: 320px; height: 240px; overflow-y: scroll" class="noscroll">
|
<div id="features" style="font-size: 24px; max-width: 320px; height: 240px; overflow-y: scroll" class="noscroll">
|
||||||
<div style='border-bottom: 2px dashed gray; color: #E7E7E7; display: inline-block; margin-bottom: 6px'>Things to look forward to</div>
|
<div style='border-bottom: 2px dashed gray; color: #E7E7E7; display: inline-block; margin-bottom: 6px'>Things to look forward to</div>
|
||||||
<div class="infot" style='color:#33BF6D'>Open Source + New Horizons</div>
|
<div class="infot" style='color:#33BF6D'>Open Source + New Horizons</div>
|
||||||
<div class="infop">
|
<div class="infop">
|
||||||
After 10,000 digital copy sales, going to open source the game. I hope the game will act as a boilerplate for new MMORPG's with unexplored / unique dynamics.
|
As the game is open sourced now, new content and items from community can enrich our game.
|
||||||
{#Going to release the game on Steam as Early Access around mid-December and after reaching a pre-set goal, the game will be open sourced and a new era will begin! (hopefully :)#}
|
|
||||||
</div>
|
</div>
|
||||||
{#<div class="infot" style='color:#36B3D3; color:#C82F17'>Tavern</div>
|
{#<div class="infot" style='color:#36B3D3; color:#C82F17'>Tavern</div>
|
||||||
<div class="infop">
|
<div class="infop">
|
||||||
|
|||||||
@@ -3202,6 +3202,11 @@ function render_item(selector,args)
|
|||||||
html+=bold_prop_line("Ability","Freeze","#2EBCE2");
|
html+=bold_prop_line("Ability","Freeze","#2EBCE2");
|
||||||
html+="<div style='color: #C3C3C3'>"+"Freezes the opponent with a "+prop.attr0+"% chance.</div>";
|
html+="<div style='color: #C3C3C3'>"+"Freezes the opponent with a "+prop.attr0+"% chance.</div>";
|
||||||
}
|
}
|
||||||
|
else if(item.ability=="poison")
|
||||||
|
{
|
||||||
|
html+=bold_prop_line("Ability","Poison",colors.poison);
|
||||||
|
html+="<div style='color: #C3C3C3'>"+"Poisons the opponent with a "+prop.attr0+"% chance.</div>";
|
||||||
|
}
|
||||||
else if(item.ability=="burn")
|
else if(item.ability=="burn")
|
||||||
{
|
{
|
||||||
html+=bold_prop_line("Ability","Burn","#E03D31");
|
html+=bold_prop_line("Ability","Burn","#E03D31");
|
||||||
|
|||||||
@@ -2995,6 +2995,13 @@ function commence_attack(attacker, target, atype) {
|
|||||||
) {
|
) {
|
||||||
info.conditions.push("frozen");
|
info.conditions.push("frozen");
|
||||||
}
|
}
|
||||||
|
if (
|
||||||
|
info.procs &&
|
||||||
|
attacker.a.poison &&
|
||||||
|
Math.random() < (attacker.a.poison.attr0 * (G.maps[attacker.map].poison_multiplier || 1)) / 100.0
|
||||||
|
) {
|
||||||
|
info.conditions.push("poisoned");
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
info.procs &&
|
info.procs &&
|
||||||
attacker.a.burn &&
|
attacker.a.burn &&
|
||||||
|
|||||||
@@ -2721,6 +2721,9 @@ function add_condition(target, condition, args) {
|
|||||||
if (condition == "frozen") {
|
if (condition == "frozen") {
|
||||||
disappearing_text(target.socket, target, "FREEZE!", { xy: 1, size: "huge", color: "freeze", nv: 1 });
|
disappearing_text(target.socket, target, "FREEZE!", { xy: 1, size: "huge", color: "freeze", nv: 1 });
|
||||||
}
|
}
|
||||||
|
if (condition == "poisoned") {
|
||||||
|
disappearing_text(target.socket, target, "POISON!", { xy: 1, color: "poison", nv: 1 });
|
||||||
|
}
|
||||||
if (condition == "burned") {
|
if (condition == "burned") {
|
||||||
let scale = 1.0 - (target.firesistance || 0) / 100.0;
|
let scale = 1.0 - (target.firesistance || 0) / 100.0;
|
||||||
duration = 5000;
|
duration = 5000;
|
||||||
|
|||||||
Reference in New Issue
Block a user