Project

General

Profile

Bug #1752

MCP -ScrollOf update for new scrolls

Added by Pork almost 8 years ago. Updated almost 8 years ago.

Status:
Implemented
Priority:
Normal
Assignee:
Category:
-
vbulletin_issue_id:

Description

as the title states need new scrolls updating to work with this as atm you can use the item via typing in the full name but using the ability in knowledge book doesn't work.

gave all details that should be needed below

 

Twark Draught of Prowess -- Scroll of Prowess - ID: 3751195512

Twark Draught of Pain -- Scroll of Pain - ID: 3865853194

Twark Draught of Pure Power --  Scroll of Pure Power - ID: 3727019852

Bloody Tooth Draught of Prowess -- Scroll of Prowess - ID: 3751195512

Bloody Tooth Draught of Pain --

Bloody Tooth Draught of Pure Power --

 

none of the others were on broker but as the 2 Prowess IDs are the same the others must be also.

#1

Updated by Kannkor almost 8 years ago

  • Status changed from New to Accepted

So they decided to completely change how scrolls are handled.

 

Realistically the entire scroll system needs to be overhauled, but I don't really have time right now. So I used duct tape. The below is in OgreBot 17.126.

 

If you pass in the exact  name, it should work the same as it did before, including for the 6 new ones.

 

If you pass in just the base name (Prowess) for example, it's going to search your inventory to see if you have any prowess, and if so it will use that one. This worked flawless until you got to this situation: You are OUT of scrolls, but have 1 charge left in your spell book. It doesn't know which one to look for. So as long as you have scrolls in your inventory it should continue to work fine.

Worth noting, because of the name differences, twark scrolls will  report back 'tried to use Twark Draught of Prowess but it never ended up casting.'. This will have to stay for now.

-----

 

Leaving this open as a reminder I need to redo this entire thing when time permits.

#2

Updated by Kannkor almost 8 years ago

  • Status changed from Accepted to Implemented

Implemented the following in Ogrebot 17.127

Rewrote entirely how scrolls work.

 

Each scroll has to be coded in so everything aligns properly. If you find any scrolls that do not work, please request them, and include the exact scroll name, and where I can get the scroll and I'll add it in.
IMO, for best use, just use the base name, such as prowess.

Also available in: Atom PDF