Caltinor / Project-MMO-2.0

A continuation of Harmony's Project MMO project
37 stars 21 forks source link

Optional Property For Perks With `chance` Property #518

Closed SomewhatDamaged closed 1 month ago

SomewhatDamaged commented 1 month ago

Describe the solution you'd like A message (sent to chat) when the perk successfully fires.

Why is this feature needed When creating "crit chance" style damage boosts or random loot rewards—it'd be nice to let the player know that.

Describe alternatives you've considered Getting a cat.

Additional context

https://github.com/Caltinor/Project-MMO-2.0/assets/6394544/e59ed097-c62e-4f7c-ab7c-b2c7b405f2d0

Caltinor commented 1 month ago

leaving this as a note to myself. A perk property to notify on chance would allow the perk to supply a message without making it apply to all perks.

Caltinor commented 1 month ago

example of configuration and ingame message

Image