jarodd
Villager
Ingame Name: Jaroddempsey
Posts: 31
|
Post by jarodd on May 7, 2020 21:52:34 GMT
what does shield of the gone do? I've wasted over two weeks of my life sitting on a carpet in a mine every half hour of play time to get shield of the gone bc the closest thing wu has to a functional wiki says that the skill provides passive dr but now i finally get rank 7 and the buff says it provides dr but also healing resistance??? is this seriously the case?
|
|
Hermann
Elder
VIP
i once again mistook this for a searchbar
Posts: 155
|
Post by Hermann on May 8, 2020 2:45:45 GMT
Heya, to gain meditation skill you can meditate anywhere, for questions you require a special tile. (Saves some time running into mine)
The wiki appears to be correct. You do get a scaling DR bonus. No healing penalty. The Info text appears to be not up to date. (or im missing the code bit where it adds a healing penalty, if anyone feels like proving me wrong, please do, knowledge is power ) Thats the code on how its handled: server.jar -> com/wurmonline/server/players/Cultist
public float getHalfDamagePercentage() { return this.path == 4 && this.level >= 7 ? Math.min(1.0F, Math.max(0.0F, (float)(this.level - 6) * 20.0F) / 100.0F) : 0.0F; } Lets break that apart...because why not...(extra info)
name is HalfDamage because SotG used to be a 50% DR.
this.path == 4 is a check for Insanity Path. (4 being Insanity)
this.level >= 7 checks if you are high enough for SotG (since it scales from lvl 7 to 11+) ? and : is just a different approach to if else (dont want to get into detail). But if(?) this.path == 4 &&(logical and) this.level >=7 then do math else( : ) return Zero(no buff). What does the Math do? It makes sure to return at least 1.0 (full buff) or something between 0.2 and 1.0 (Depending on that number, you get up to 30% DR.
|
|
jarodd
Villager
Ingame Name: Jaroddempsey
Posts: 31
|
Post by jarodd on May 13, 2020 14:19:12 GMT
Dang I shouldve checked the forums again that day lol I ended up dumping insanity for love a couple days later. A sidegrade considering I'm fo but still time wasted nonetheless. In any case thanks for checking the code, that's super helpful.
|
|