Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

feat: use item activation (right click) for magic staff #226

Closed skaldarnar closed 3 years ago

skaldarnar commented 3 years ago

This PR makes use of the PRs referenced below to turn the magic staff weapon into an item that is used with "item activation", i.e., right click. As the staff is supposed to be used on range against another player this use case needs to be supported by the engine.

It improves the game play in the sense that using the staff is now similar to using the bow or the fire ball staff instead of a "ranged use" action (as in, opening a door with e).

Depends on MovingBlocks/Terasology#4818 Depends on Terasology/LightAndShadowResources#70

ahv15 commented 3 years ago

It might be a good idea to shift the staff to the shop (once it's added) instead as now players can remove the flag even without the staff and having a larger range (the staff) shouldn't be the default behavior (as all the players could camp and prevent others from bringing the flag back) and making sure that the player tracks the opponent would probably be necessary (not sure whether occasionally checking whether the target is being detected during the time period would be the right thing to do) as the weapon might be too powerful based on the range.