Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lumberjack problem
Author Message
jexnico
Journeyman
*

Posts: 137
Likes Given: 54
Likes Received: 0 in 0 posts
Joined: Jan 2014
Reputation: 0

Mystic Age Easy Shard

Post: #1
lumberjack problem
when i try to use an axe in a tree, i receive one message and my char does not hack the tree...
i know this is involved with the sphere_skills
how do i resolve this issue?

[Image: 9v8g05.png]

lumber:
Quote:ON=@PreStart
IF (<SRC.WEAPON.USESCUR>< 1)
SRC.SYSMESSAGE The tool is out of charges.
return 1
ENDIF

ON=@Success
SRC.WEAPON.USESCUR --
IF (<SRC.WEAPON.USESCUR>==0)
SRC.WEAPON.DESTROY 1
ENDIF
(This post was last modified: 03-12-2018 03:06 AM by jexnico.)
03-12-2018 02:38 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Abuelox
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 7 in 7 posts
Joined: Apr 2010
Reputation: 0

Alteria Games

Post: #2
RE: lumberjack problem
use
Code:
if !(<act.UsesMax> == 0)
ACT.MESSAGE @66,0,1 [Uses <act.UsesCur> / <act.UsesMax>]
endif

You need too make UsesMax on @create in any tool.

Example:

Code:
[ITEMDEF 0e85]
DEFNAME=i_pickaxe
TYPE=t_weapon_mace_pick
DAM=13,15
FLIP=1
SKILL=Swordsmanship
SPEED=44
//TAG.OVERRIDE.SPEED=30
VALUE=24
WEIGHT=5.0
TWOHANDS=N
RESOURCES=4 i_ingot_iron,1 i_log
SKILLMAKE=Tinkering 40.0,t_tinker_tools
CATEGORY=Provisions - Weapons
SUBSECTION=Swordsmanship
DESCRIPTION=PickAxe
ReqStr=30
TEVENTS=t_equipitem
DUPELIST=0e86
ON=@Create
   HITPOINTS={36 48}
   UsesMax=50
(This post was last modified: 03-12-2018 04:06 AM by Abuelox.)
03-12-2018 04:05 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Abuelox's post
jexnico
Journeyman
*

Posts: 137
Likes Given: 54
Likes Received: 0 in 0 posts
Joined: Jan 2014
Reputation: 0

Mystic Age Easy Shard

Post: #3
RE: lumberjack problem
(03-12-2018 04:05 AM)Abuelox Wrote:  use
Code:
if !(<act.UsesMax> == 0)
ACT.MESSAGE @66,0,1 [Uses <act.UsesCur> / <act.UsesMax>]
endif

You need too make UsesMax on @create in any tool.

Example:

Code:
[ITEMDEF 0e85]
DEFNAME=i_pickaxe
TYPE=t_weapon_mace_pick
DAM=13,15
FLIP=1
SKILL=Swordsmanship
SPEED=44
//TAG.OVERRIDE.SPEED=30
VALUE=24
WEIGHT=5.0
TWOHANDS=N
RESOURCES=4 i_ingot_iron,1 i_log
SKILLMAKE=Tinkering 40.0,t_tinker_tools
CATEGORY=Provisions - Weapons
SUBSECTION=Swordsmanship
DESCRIPTION=PickAxe
ReqStr=30
TEVENTS=t_equipitem
DUPELIST=0e86
ON=@Create
   HITPOINTS={36 48}
   UsesMax=50

where did i add that?
Quote:use
Code:
if !(<act.UsesMax> == 0)
ACT.MESSAGE @66,0,1 [Uses <act.UsesCur> / <act.UsesMax>]
endif
03-12-2018 04:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Abuelox
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 7 in 7 posts
Joined: Apr 2010
Reputation: 0

Alteria Games

Post: #4
RE: lumberjack problem
its a message from a item (@itemclick, if u want see it on all weapons/tools with uses)

You can make it from a event.
03-12-2018 10:40 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Abuelox's post
jexnico
Journeyman
*

Posts: 137
Likes Given: 54
Likes Received: 0 in 0 posts
Joined: Jan 2014
Reputation: 0

Mystic Age Easy Shard

Post: #5
RE: lumberjack problem
solved
100% working
ty Abuelox!!! Big Grin
03-13-2018 06:54 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.