The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
modifing itemdef dam.lo dam.hi
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #1
modifing itemdef dam.lo dam.hi
DAM min,max RW Gets or sets the base damage that the weapon will deal.


dam.lo and dam.hi arent writeable but
dam min,max is a RW itemdef

but i get console error:

PHP Code:
local.dam1=<eval (<act.dam.lo>*135)/100>)  // shall use muldiv i know
local.dam2=<eval (<act.dam.hi>*135)/100>)
    
act.dam min,max act.dam <local.dam1>,<local.dam2

ive tried different ways and im always getting the fallowing error:

(sphere_event_special.scp,58)Undefined keyword 'dam'
(This post was last modified: 06-23-2014 11:27 AM by kn4tseb.)
06-23-2014 11:24 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
modifing itemdef dam.lo dam.hi - kn4tseb - 06-23-2014 11:24 AM
RE: modifing itemdef dam.lo dam.hi - Ben - 06-23-2014, 12:02 PM
RE: modifing itemdef dam.lo dam.hi - Feeh - 06-23-2014, 12:44 PM
RE: modifing itemdef dam.lo dam.hi - Skul - 06-23-2014, 10:00 PM

Forum Jump:


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