User Tools

Site Tools


modding:function:shprechargeshield

Discuss this page on this pages TalkPage

shpRechargeShield

See shpRechargeShield at Xelerus

Syntax (shpRechargeShield ship number)
Arguments ship: The ship that has a shield to recharge.
number: The amount you want to recharge.
Returns condition: True if successful, Nil otherwise.
Category damage, shield, ship
Description Recharges the ships shields the given amount. Does not recharge over the shields max hp.

Example

(shpRechargeShield gplayership 10)

Adds ten hp to the player's shield. Return to Functions list

modding/function/shprechargeshield.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1