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

Adding methods to QuestManager #1052

Merged
merged 20 commits into from
Oct 13, 2018
Merged

Conversation

gmriggs
Copy link
Collaborator

@gmriggs gmriggs commented Oct 8, 2018

  • Added quest solve timers to item pickups
  • More methods added to QuestManager
  • Fixed a bug where recipe items could be combined with themselves
  • Added ConvertToMoASkill() to recipe skill checks
  • Added Item Tinkering to skill updates

# Conflicts:
#	Source/ACE.Database/WorldDatabase.cs
#	Source/ACE.Server/WorldObjects/Player_Inventory.cs
#	Source/ACE.Server/WorldObjects/Player_Use.cs
# Conflicts:
#	Source/ACE.Server/WorldObjects/Portal.cs
# Conflicts:
#	Source/ACE.Server/WorldObjects/Monster.cs
/// <summary>
/// Spawns a player-summoned portal from item magic or gems
/// </summary>
protected void SummonPortal(uint portalId, Position destination, double portalLifetime)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this code is kind of strange to me.. I'm confident it works similarly enough to what retail did but, it goes about it differently than I think it maybe should..

summoned portals, be they from players, npc, or items, are copies of portalgateway or wcid 1955.. As such I think we should clone/copy 1955, alter/apply its destination from whatever portal destination or id we're using as the link and then put a TimeToRot value so that portals Rot using that heartbeat rot system similar to other item decay.

https://github.com/ACEmulator/ACE-World-16PY/blob/master/Database/3-Core/9%20WeenieDefaults/SQL/Portal/PORTAL/01955%20Gateway.sql

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are likely other properties we should copy as well from the portal that the gateway portal is cloning destination from... things like min/max level, restrictions..

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not write this code... this was existing code pulled out of the item magic block

@gmriggs
Copy link
Collaborator Author

gmriggs commented Oct 10, 2018

  • Fixed a bug where /smite all would kill nearby NPCs
  • Fixed a bug where teleporting / dying in hotspots would not trigger hotspot.OnCollideEnd
  • Fixed a bug where ethereal objects could prevent creatures from spawning
  • Added portal summons to monster item magic / emotes

@LtRipley36706 LtRipley36706 merged commit 678681f into ACEmulator:master Oct 13, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants