Added rings that can augment the player's statistics. Also added a new statistic : xp_buff, which helps the player level up sooner.

This commit is contained in:
eichhornchen
2021-01-06 11:44:52 +01:00
parent a9aeb9ca3a
commit 4ad7d6c37c
4 changed files with 81 additions and 5 deletions

View File

@ -374,7 +374,7 @@ class Entity:
TeddyBear, GiantSeaEagle
from squirrelbattle.entities.friendly import Merchant, Sunflower
from squirrelbattle.entities.items import BodySnatchPotion, Bomb, \
Heart, Sword, Shield, Chestplate, Helmet
Heart, Sword, Shield, Chestplate, Helmet, RingCritical, RingXP
return {
"Tiger": Tiger,
"Bomb": Bomb,
@ -391,6 +391,8 @@ class Entity:
"Shield": Shield,
"Chestplate": Chestplate,
"Helmet": Helmet,
"RingCritical": RingCritical,
"RingXP": RingXP,
}
def save_state(self) -> dict: