Search the Community
Showing results for tags 'Easy Implementation'.
Found 1 result
-
I suggest the artifact recharge messages are tweaked acording to the new max recharge limit ingame to allow kingdoms to get a better grasp at how urgently they need to recharge. Currently the game only has 3 states for artifacts. Lets change that into all 6. One message per 5 charge intervall. Current code: >100 charge = It emits a huge sense of power. >70 = It emits a strong sense of power. >40 = It emits a fair sense of power. >20 = It emits some sense of power. It will need to be recharged at the huge altar eventually. >10 = It emits a weak sense of power. It will need to be recharged at the huge altar soon. <=10 = It emits almost no sense of power. It will need to be recharged at the huge altar immediately or it will disappear. HOWEVER We can only charge to 30 now. Sooooo, lets adjust this. >=25 = It emits a huge sense of power. >=20 = It emits a strong sense of power. >=15 = It emits a fair sense of power. >=10 = It emits some sense of power. It will need to be recharged at the huge altar eventually. >=5 = It emits a weak sense of power. It will need to be recharged at the huge altar soon. <5 = It emits almost no sense of power. It will need to be recharged at the huge altar immediately or it will disappear. TLDR: One message for every 5-charge intervall for artifacts. For devs: Line 9064 to 9093 of Item.class if (ArtifactBehaviour.mayUseItem(this, null)) { if (this.auxbyte >= 25) { toReturn = toReturn + " It emits a huge sense of power."; } else if (this.auxbyte >= 20) { toReturn = toReturn + " It emits a strong sense of power."; } else if (this.auxbyte >= 15) { toReturn = toReturn + " It emits a fair sense of power."; } else if (this.auxbyte >= 10) { toReturn = toReturn + " It emits some sense of power. It will need to be recharged at the huge altar eventually."; } else if (this.auxbyte >= 5) { toReturn = toReturn + " It emits a weak sense of power. It will need to be recharged at the huge altar soon."; } else { toReturn = toReturn + " It emits almost no sense of power. It will need to be recharged at the huge altar immediately or it will disappear."; } } else { toReturn = toReturn + " It seems dormant"; if (this.auxbyte >= 25) { toReturn = toReturn + " but emits a huge sense of power."; } else if (this.auxbyte >= 20) { toReturn = toReturn + " but emits a strong sense of power."; } else if (this.auxbyte >= 15) { toReturn = toReturn + " and emits a fair sense of power."; } else if (this.auxbyte >= 10) { toReturn = toReturn + " and emits some sense of power. It will need to be recharged at the huge altar eventually."; } else if (this.auxbyte >= 5) { toReturn = toReturn + " and emits a weak sense of power. It will need to be recharged at the huge altar soon."; } else { toReturn = toReturn + " and emits almost no sense of power. It will need to be recharged at the huge altar immediately or it will disappear."; }