4 - potion "willpower" does not useable (French translation)
What steps will reproduce the problem?
1. use an FR client
2. a "willpower" potion in bags
What version of the product are you using?
lastest
In function Autobar.getValuesFR()
Add an "elseif" like that
****************************************************************
elseif string.find(description, 'Augmente [^%d]+ de %d+ points pendant %d+ minutes.') then
potionV, potionD = getNumbers(description, 2)
potionD = potionD * 60
elseif string.find(description, 'votre volon') then potionTy = Autobar.Type.WILLPOWER
****************************************************************
Note:
- no "l" before "[^%d]+"
- add "points" after first " de %d+ "
Best regards,
TiTeY`.
| User | When | Change |
|---|---|---|
| titey | Fri, 14 Nov 2008 14:38:15 | Create |
- 1 comment
- 1 comment
- #1
titey Sun, 30 Nov 2008 12:11:39found an other problem "intel".
I use these lines to add "willpower" and "intel" :