Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify user when scroll of upgrade removes weapon enchantment #21

Closed
mchelen opened this issue Oct 27, 2014 · 9 comments
Closed

Notify user when scroll of upgrade removes weapon enchantment #21

mchelen opened this issue Oct 27, 2014 · 9 comments

Comments

@mchelen
Copy link

mchelen commented Oct 27, 2014

Edit: Please add a notification for the user when a scroll of upgrade removes a weapon enchantment.

I found a Vampiric mace, and when a Scroll of Upgrade was applied it lost its Vampiric enchantment. The weird thing is I'm pretty sure I had applied a few Scrolls of Upgrade already, but the last one I applied when it was +3 caused the enchantment to be lost.

@miohtama
Copy link

I think this is a feature, not a bug. (At least read about it in pixeldungeon.wikia.com/wiki/ )

@tousdan
Copy link

tousdan commented Oct 27, 2014

It is not a bug. It's actually a tip you see on a sign after DM-300.

See this file for the actual tip;

"When you upgrade an enchanted weapon, there is a chance to destroy that enchantment.",

@mchelen
Copy link
Author

mchelen commented Oct 27, 2014

Ah ok, do you know if it gives the user a notification that this happened?

@vndmtrx
Copy link

vndmtrx commented Oct 27, 2014

No, it don't warn for the consequences. Only on tips in the beginning of the level.

@mchelen
Copy link
Author

mchelen commented Oct 27, 2014

A notification would be nice, since it's only a possibility of occurring.

@mchelen mchelen changed the title Scroll of upgrade removed weapon enchantment Notify user when scroll of upgrade removes weapon enchantment Oct 27, 2014
@jgpacker
Copy link

By notification you mean a log entry, right?

@mchelen
Copy link
Author

mchelen commented Oct 27, 2014

@jgpacker Yup, the text at the bottom of the screen.

@tousdan
Copy link

tousdan commented Nov 1, 2014

It seems that a message is already there;
"Interaction of different types of magic has negated the enchantment on this weapon!"

https://github.com/watabou/pixel-dungeon/blob/master/src/com/watabou/pixeldungeon/items/weapon/Weapon.java#L139

@mchelen
Copy link
Author

mchelen commented Nov 4, 2014

Yup, you are right! I must not have seen it, I tested again and sure enough it appeared. Thanks for the correction.

@mchelen mchelen closed this as completed Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants